Not a complete answer, but just a note: (?>...) is not a positive lookahead (which would be (?=...) instead), but is an "atomic" grouping (update: also called an "independent" subexpression) that affects backtracking. See Extended Patterns in perlre.
Give a man a fish: <%-{-{-{-<
In reply to Re: regex is not working as I intended
by AnomalousMonk
in thread regex is not working as I intended
by fireblood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |