[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Regular Expression Problem... (5.005 related)



On Fri, Sep 08, 2000 at 09:29:01AM -0700, Andrew O. Mellinger wrote:
> >At 8:58 -0700 2000.09.08, Andrew O. Mellinger wrote:
> >  >Does anyone have any info on when the 5.005 update will be released?
> >
> >For MacPerl?  Never.  MacPerl 5.6 is in development.
> 
>    Hmm.  Okay, I've got a script that does
> 
>    $value =~ s+(?<!<)(http://[\S]*)+<a href=\"$1\">$1</a>+g;
> 
>    but it doesn't compile under 5.004 it gets a:
> 
>    Sequence (?<...) not recognized.
> 
>    I was told that the "It's zero-width look-behind sequence."   I 
> seem to be having trouble finding info in my Regular Expressions book 
> or Perl books.  What does this mean?

The look-behind assertions were not present in perl5.004.  You simply can't
use them in MacPerl.

Ronald

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org