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

Re: TPR1 post-mortem

Thread Previous | Thread Next
Ronald J Kimball
March 8, 2002 07:16
Re: TPR1 post-mortem
Message ID:
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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About