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.


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


Reply via email to