in reply to regex is not working as I intended
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: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regex is not working as I intended
by fireblood (Scribe) on Jan 22, 2018 at 19:15 UTC |