RegularExpressions
SearchPatterns
Pattern Meaning
. Matchesanycharacter
\( Thismarksthestartofaregionfortaggingamatch.
\) Thismarkstheendofataggedregion.
\n
Wherenis1through9referstothefirstthroughninth
taggedregionwhenreplacing.Forexample,ifthesearch
stringwasFred\([1-9]\)XXXandthereplacestringwas
Sam\1YYY,whenappliedtoFred2XXXthiswouldgenerate
Sam2YYY.
\<
ThismatchesthestartofawordusingScintilla'sdefinitions
ofwords.
\>
ThismatchestheendofawordusingScintilla'sdefinition
ofwords.
\x
Thisallowsyoutouseacharacterxthatwouldotherwise
haveaspecialmeaning.Forexample,\[wouldbe
interpretedas[andnotasthestartofacharacterset.
[...]
Thisindicatesasetofcharacters,forexample,[abc]
meansanyofthecharactersa,borc.Youcanalsouse
ranges,forexample[a-z]foranylowercasecharacter.
[^...]
Thecomplementofthecharactersintheset.Forexample,
[^A-Za-z]meansanycharacterexceptanalphabetic
character.
^
Thismatchesthestartofaline(unlessusedinsideaset,
seeabove).
$ Thismatchestheendofaline.
*
Thismatches0ormoretimes.Forexample,Sa*m
matchesSm,Sam,Saam,Saaamandsoon.
+
Thismatches1ormoretimes.Forexample,Sa+m
matchesSam,Saam,Saaamandsoon.