in reply to Escape single quote marks in words
The easiest way to think of this may be:
.. which you can do like this:replace ' with \' if it lies between two letters
.. or like this:s/(?>=\w)'(?=\w)/\\'/g;
s/\b'\b/\\'/g;
Hugo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Escape single quote marks in words
by kiat (Vicar) on May 28, 2004 at 00:37 UTC |