Tcl Source Code

regexp
Login

The Spencer regexp engine is shared between Postgres and TCL.

Here is a link to the internal doc of the engine at Postgres: http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob_plain;f=src/backend/regex/README;hb=HEAD

Another engine of interest is IMHO Google's re2: