mike mulligan writes:
:From: Hugo [EMAIL PROTECTED]
:Sent: Tuesday, September 12, 2000 2:54 PM
:
: 3. The regexp is matched left to right: first the lookbehind, then 'X',
: then '[yz]'.
:
:Thanks for the insight - I was stuck in my bad assumption that the optimized
:behavior was the only
On Tue, Sep 12, 2000 at 05:16:17AM +0100, Hugo wrote:
:Simply put, I want variable-length lookbehind.
The difficulty with variable-length lookbehind (let's call it
VLLB) is this: suppose that we want to match "abcdef...xyz" =~
/(?=x+)y/. In theory, to check the possible /x+/ matches in
the
Hugo wrote:
The difficulty with variable-length lookbehind (let's call it
VLLB) is this: suppose that we want to match "abcdef...xyz" =~
/(?=x+)y/. In theory, to check the possible /x+/ matches in
the right order [0] we need to check whether there we can match
0 characters at offset 0 (no),
From: Hugo [EMAIL PROTECTED]
Sent: Monday, September 11, 2000 11:59 PM
mike mulligan replied to Peter Heslin:
: ... it is greedy in the sense of the forward matching "*" or "+"
constructs.
: [snip]
This is nothing to do with greediness and everything to do with
left-to-rightness. The
In 085601c01cc8$2c94f390$[EMAIL PROTECTED], "mike mulligan" w
rites:
:From: Hugo [EMAIL PROTECTED]
:Sent: Monday, September 11, 2000 11:59 PM
:
:
: mike mulligan replied to Peter Heslin:
: : ... it is greedy in the sense of the forward matching "*" or "+"
:constructs.
: : [snip]
:
: This is