in reply to Re: (tye)Re2: new super search
in thread new super search

See (tye)Re: new super search. You can use MySQL's [[:<:]] and [[:>:]] directly if you find that less confusing.

        - tye (see also this)

The complete list of extensions to MySQL regexes that I included is:

'\w' => '[_[:alnum:]]', '\W' => '[^_[:alnum:]]', '\s' => '[[:space:]]', '\S' => '[^[:space:]]', '\d' => '[0-9]', '\D' => '[^0-9]', '\n' => "\n", '\t' => "\t", '\b' => '[[:<:]]', '\B' => '[[:>:]]', '\A' => '^', '\z' => '$', '\Z' => "\n?\$", '^' => "(^|\n)", '$' => "(\n|\$)", \xHH \0OOO (probably should be \[0123]OO instead, *sigh*)
Plus you can get this error:
We don't allow a () that contains +, *, or {} to have +, *, or {} applied to it (to prevent excess server load).