Geany Inline Help
. | Matches any character. |
( | This marks the start of a region for tagging a match. |
) | This marks the end of a tagged region. |
\n | Where n is 1 through 9 refers to the first through ninth tagged region when searching or replacing. Searching for (Wiki)\1 matches WikiWiki. If the search string was Fred([1-9])XXX and the replace string was Sam\1YYY, when applied to Fred2XXX this would generate Sam2YYY. |
\0 | When replacing, the whole matching text. |
\b | This matches a word boundary. |
\c | A backslash followed by d, D, s, S, w or W, becomes a character class (both inside and outside sets []). - d: decimal digits - D: any char except decimal digits - s: whitespace (space, \t \n \r \f \v) - S: any char except whitespace (see above) - w: alphanumeric & underscore - W: any char except alphanumeric & underscore |
\x | This allows you to use a character x that would otherwise have a special meaning. For example, [ would be interpreted as [ and not as the start of a character set. Use \ for a literal backslash. |
[…] | Matches one of the characters in the set. If the first character in the set is ^, it matches the characters NOT in the set, i.e. complements the set. A shorthand S-E (start dash end) is used to specify a set of characters S up to E, inclusive. The special characters ] and - have no special meaning if they appear first in the set. - can also be last in the set. To include both, put ] first: []A-Z-]. Examples: []|-] matches these 3 chars []-|] matches from ] to | chars [a-z] any lowercase alpha [^]-] any char except - and ] [^A-Z] any char except uppercase alpha [a-zA-Z] any alpha |
^ | This matches the start of a line (unless used inside a set, see above). |
$ | This matches the end of a line. |
* | This matches 0 or more times. For example, Sa*m matches Sm, Sam, Saam, Saaam and so on. |
+ | This matches 1 or more times. For example, Sa+m matches Sam, Saam, Saaam and so on. |
? | This matches 0 or 1 time(s). For example, Joh?n matches John, Jon. |
Quelle: Geany Help: …/html/index.html#regular-expressions |