Works in my normal regular expressions. When trying to match in Vim or gvim however, I can not seem to get it to work.
I tried something like this:
Is it not supported, or am I missing something?
Vim has its own regex engine and it doesn't support
I think the best alternative you can find comes from
:h / (especially the last example):
\_ A collection. This is a sequence of characters enclosed in brackets. It matches any single character in the collection. Example matches ~ [xyz] any 'x', 'y' or 'z' [a-zA-Z]$ any alphabetic character at the end of a line [А-яЁё] Russian alphabet (with utf-8 and cp1251)