Regex101 icon indicating copy to clipboard operation
Regex101 copied to clipboard

Vim flavor

Open jmcantrell opened this issue 10 years ago • 6 comments

See :help pattern in vim.

jmcantrell avatar Oct 22 '14 19:10 jmcantrell

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

hobbes3 avatar Nov 12 '14 17:11 hobbes3

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).

ashleybartlett avatar Nov 28 '14 03:11 ashleybartlett

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

Rybadour avatar Dec 18 '14 14:12 Rybadour

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

sanguis avatar Dec 18 '14 17:12 sanguis

+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.

wosym avatar Jun 22 '23 08:06 wosym