document updated 12 days ago, on Feb 28, 2025
Regex details across different software
Vim
Quick summary — Vim uses its own version of regexes.
[cheat sheet]
[manual entry]
[cheat sheet]
Vim can be told to use different types of regex:
- Very magic mode — It's good practice to start most regexes with
\v
to enable this. [1] [2] [3]
- PCRE — This can be used if Vim had been compiled with Perl enabled.
Less
It can be compiled with different regular expression engines.
Some things you might see:
External links