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

Reply via email to