Why does VIM have its own regex syntax?

前端 未结 3 1969
梦毁少年i
梦毁少年i 2020-12-03 00:46

Why do you have to make your regex \"very magic\" so that you don\'t have to escape your capture quotes? And if you set your environment to very magic, you are non-standard

3条回答
  •  隐瞒了意图╮
    2020-12-03 00:50

    There is a plugin called eregex.vim which translates from PCRE to Vim's syntax. It takes over a thousand lines of vim to achieve that translation!

提交回复
热议问题