Perl extended regexp problems...
Andrew Wilson
andrew-dated-1001080663.700bdf at rivendale.net
Sun Sep 16 08:57:42 CDT 2001
On Sun, Sep 16, 2001 at 02:48:58PM +0100, Liyang Hu wrote:
> ----8<----
>
> 4.6.8 Extended Regular Expressions
>
> (?<!=...)
>
> A zero-width negative lookbehind assertion. For example,
> /(?<!=bad)boy/ matches any occurrence of "boy" that doesn't
> follow "bad". This only works for fixed-width lookbehind.
>
> ----8<----
>
> Grr... This is the last time I read the FM. -_-
Wrong FM perldoc perlre is your friend.
cheers
Andrew
More information about the Belfast-pm
mailing list