Re: [MacPerl-AnyPerl] negative lookahead problem

[email protected] (allan) Fri, 10 Aug 2001 07:33:24 +0200
Newsgroups perl.macperl.anyperl
Message-ID <[email protected]>
hi christian
if you insetad of (?!.?*<\/script>) really meant:

(?!.*?<\/script>)

that does not help though i don´t see why ...

thanks anyway
allan




> I think you should make the look ahead less greedy like
> (?!.?*<\/script>)
> or it will keep on til the last </script>...