firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.28k stars 199 forks source link

Vim flavor #157

Open jmcantrell opened 10 years ago

jmcantrell commented 10 years ago

See :help pattern in vim.

hobbes3 commented 10 years ago

Usually I just use \v (very magic mode) in Vim and it "mostly" mimics PCRE regex.

http://stackoverflow.com/questions/3864467/whats-the-difference-between-vim-regex-and-normal-regex

ashleybartlett commented 9 years ago

Would be nice to be able to see this in non-magic mode. Sometimes you only need to add 1 or 2 regex items (more than that and you need to use magic mode).

Rybadour commented 9 years ago

I came here hoping to find a suggestion for this. It would be greatly appreciated.

sanguis commented 9 years ago

A great explanation of vim regex can be found at http://www.vimregex.com/

wosym commented 1 year ago

+1 on this. I don't see any reason to not add Vim-regex support. It's widely used and would help a lot of people.

This argument from the other ticket:

Vim regex is... weird.

Is one of the worst arguments I can imagine for not adding vim-regex support. On the contrary: it being weird would be a good reason to add it, because a) lots of people might struggle with it, b) you can't get "close enough" by picking a similar regex flavor that already exists.

luisdavim commented 6 months ago

having the vim flavuor would be much appreciated.