Character classes like [acz]
or [^a-cHP-W]
.
Standard characters to match like a
or %
but also characters that aren't special within
character classes such as *
(ex: [*+]
matches on literal *
and +
).
Character range like a-z
.
Positive integers within the max range of Scala's Int
.
Matches repeat counts like {3}
or {1,4}
.
A parser for a regular expression.
A parser for a regular expression. You probably want to use regexExpr instead, as this parser will succeed even if there are trailing characters after a valid regular expression.
A parser for strings that are complete regular expressions, up until the end of the string.
A shorthand class such as \d
or \w
.
A shorthand class such as \d
or \w
. This parser itself doesn't look for the \
; it starts
with the character after it.
Matches on special characters that should be escaped like *
and {
.
Standard characters to match like a
or %
.
Matches the wildcard character .
.