Marcelo E. Magallon <[EMAIL PROTECTED]> 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.

I wondered that too.  I figured it was because \B wouldn't match 
twice at the same place, but then I saw that s/\B./$&$&/g didn't work 
as expected either.

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC

Reply via email to