in reply to Re: Return value from positive look behind
in thread Return value from positive look behind
Variable-length positive lookbehinds of any length can be realized with the \K regex operator introduced with Perl version 5.10; see Lookaround Assertions in perlre. (Update: I should add that \K is mainly useful in s/// substitutions.)
Give a man a fish: <%-{-{-{-<
|
|---|