in reply to Lookbehinds not recognized?

After checking perldelta for 5.005_3 and Elements of Programming with Perl, I have to conclude that lookbehind assertions were introduced in 5.005. Lookaheads were around before that, though.

As to why perlre for 5.004 shows that -- your guess is as good as mine.

Replies are listed 'Best First'.
RE: Re: Lookbehinds not recognized?
by mdillon (Priest) on May 14, 2000 at 04:21 UTC
    it seems to have been added in 5.004_50, which i think is a prerelease of the 5.005 series. here's the relevant message from perl5-porters. see item (k).
RE: Re: Lookbehinds not recognized?
by reptile (Monk) on May 14, 2000 at 04:56 UTC

    I guess you're right. 5.005 works, I just installed it. I have no idea why the 5.004 docs say it was in there. Looks like I'm spending the rest of the night reinstalling modules.

    Thanks.