On Fri, 28 Jan 2011, Rogan Creswick wrote:

> You need to define a group around the digit, then reference that digit as
> the replace pattern, using query-replace-regexp.  Match on:
>
> \([0-9]\)'
>
> and replace with:
>
> \1
>
> (to refer to the first group)
> http://www.gnu.org/software/findutils/manual/html_node/find_html/emacs-regular-expression-syntax.html

Rogan,

   Obviously, I missed that part on the emacs regular expression syntax Web
page. Must have stopped reading too soon.

Many thanks,

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to