in reply to Re^2: Why is variable length lookahead implemented while lookbehind is not?
in thread Why is variable length lookahead implemented while lookbehind is not?
My first thought for an "easy solution" is to generate a reversed version of the target string if there is a variable length look behind, then use the usual look ahead match processing on the reversed string starting at the "reversed" anchor point.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why is variable length lookahead implemented while lookbehind is not?
by CountZero (Bishop) on Sep 07, 2011 at 21:11 UTC | |
|
Re^4: Why is variable length lookahead implemented while lookbehind is not?
by ikegami (Patriarch) on Sep 07, 2011 at 20:51 UTC |