tlux-regex
Patterns search through the current text; use {.} at the beginning or end to match file boundaries.
abc
literal bytes match themselves in order
a.d
dot matches any one byte
ab|cd
the branch applies to neighboring tokens, then rejoins the sequence
a[bc]d
shorthand for branches between a collection of single tokens
a(bc)d
parentheses group a sequence so controls can apply to it
a{bc}d
braces negate a token or grouped expression
x?
the preceding token or token group may be skipped
x*
the preceding token or token group may appear zero or many times
{.}abc
match only at the beginning of a file
abc{.}
match only at the end of a file
\letter
saved shortcuts inject one grouped expression