From: howa <[EMAIL PROTECTED]>
> My codes:
> 
> This work:
> 
> 1. perl -pe 's/(?<=[^\\])\\//g'  test.txt
> 
> 
> This does not:
> 
> 2. perl -pe 's/(?<=[^\\])\\\'//g'  test.txt (Note a single quote is
> inserted in the middle)
> 
> This also not working:
> 
> 3. perl -pe "s/(?<=[^\\])\\\'//g"  test.txt
> 
> 
> So how to insert a single quote in example 2?
> 
> Thanks.

And your operating system and/or shell is?

The last one works for me in Windows (Vista, but the exact version 
should not matter).

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to