Documentation

API Reference Manual

TRE implements the full POSIX regex API, plus a bunch of extensions.    The basic flow is that first you compile your regex string into a regex_t object.  Then you can search for matches with the various regexec functions.

Regex Syntax Manual

TRE implements most of the POSIX regex syntax, as documented on the Regex Syntax page.