Académique Documents
Professionnel Documents
Culture Documents
Useful examples
\<
Beginning of a word
Start-of-line
\>
End of word
/d_
End-of-line
\(...\)
Group
Any char
\|
Separate alternative
0 or more quantifier
\_.
\+
1 or more quantifier
[...]
Match range
\=
0 or 1 quantifier
[^...]
Not range
\?
or or 1 quantifier
&
\{n,m}
n to m quantifier
pattern
\{n}
n quantifier
\{n,}
at least n quantifier
\@<=
\{,m}
0 to m quantifier
\@<!
\@=
\@!
interpreted as literals).
s/^.*$\n//
s/<pattern>/
new &/
matched pattern>"
s/<pattern>/
\=@a/
register "a"
s/<pattern>/
/gn
Look around assertions
By fievel (fievel)
Sponsored by Readability-Score.com
cheatography.com/fievel/
www.fievel.be
Page 1 of 1.
https://readability-score.com