Steve Litt wrote:
I'm not good enough at sed to do the parsing in sed, so I used ex (the back end engine editor for Vim). My script has two failings:

1) On single word emphasis, it emphasizes any trailing punctuation. I had trouble with structures like [^;,.] so couldn't do that.

What about \b? i.e., word boundaries?

2) On multiword emphasis, it works only if the opening and closing braces are on the same line. Otherwise it leaves them as is so that they can be manually fixed within LyX.

Certainly in perl you could do this, by using the s modifier.

rh

Reply via email to