rex
lrexlib regular expressions
Default to using PCRE
FIXME: allow regular expression type to be selected (?)