| Home | Libraries | People | FAQ | More

## Regular Expression Syntax

This section covers the regular expression syntax used by this library, this is a programmers guide, the actual syntax presented to your program's users will depend upon the flags used during expression compilation.

There are three main syntax options available, depending upon how you construct the regular expression object:

- Perl (this is the default behavior).
- POSIX extended (including the egrep and awk variations).
- POSIX Basic (including the grep and emacs variations).

You can also construct a regular expression that treats every character as a literal, but that's not really a "syntax"!