Regexes
The Regular Expression engine provided by ParserObjects has fewer features than an ordinary Regular Expression engine, such as the one provided by the System.Text.Regex class. The following features are supported:
- Literal characters
"abc" - Basic Quantifiers
- Zero or One
? - Zero or More
* - One or More
+
- Zero or One
- Range quantifiers
{3}exactly three{3,}at least three{,3}at most three{3,5}between three and five
- Groups
( ) - Alternations
| - Character Classes
[abc]literal characters[a-cA-C]character ranges[^abc]and[^a-c]inverted ranges
- Built-In Character Classes
\sand\Swhitespace and non-whitespace\wand\Wword and non-word\dand\Ddigit and non-digit
$End anchor