document updated 7 days ago, on Feb 13, 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.