develooper Front page | perl.fwp | Postings from March 2002

Re: TPR1 post-mortem

Thread Previous | Thread Next
From:
Ronald J Kimball
Date:
March 8, 2002 07:16
Subject:
Re: TPR1 post-mortem
Message ID:
20020308101557.E1569816@linguist.thayer.dartmouth.edu
On Fri, Mar 08, 2002 at 03:16:10PM +0100, Marcelo E. Magallon wrote:

>  A question of my own: why doesn't
> 
>     s/\B.\B/$&$&/g
> 
>  work as I expect, namely abcd -> abbccd.  I really can't figure it out
>  by reading the docs.

It works as expected in perl5.005_3 and perl5.7.2.  There are many subtle
bugs in the regex engine in perl5.6.0 and perl5.6.1.

Ronald

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About