Rich Shepard wrote: > On Tue, 22 Nov 2011, Galen Seitz wrote: > >> What do your search and replace strings look like? I'd expect >> something like this. >> >> search: ,\(date_match_pattern\), >> replace: ,'\1', > > Galen, > > For search I tried ,[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9], and I > coped that with single quotes as the replacement string. Reading the wiki > page I did not see \1 as replace original characters.
The terminology you're looking for is "back reference". http://www.gnu.org/s/libtool/manual/emacs/Regexp-Replace.html Oddly, in a quick search of the wiki, I didn't spot it either. That's assuming you were referring to emacswiki.org. -- Galen Seitz [email protected] _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
