On Tue, 22 Nov 2011, Rogan Creswick wrote:

> I believe you want something like:
> query = \([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]\)

   Ah, so. I did not have the groups in parentheses or set off by back
slashes.

> replace = '\1'

   As I wrote in response to Galen's message, I did not find the \1 on the
wiki page.

   And, ... 143,260 lines later that certainly did the trick.

Thank you both for the emacs regex lesson,

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

Reply via email to