[PLUG] emacs: regex replace modified search string

Rich Shepard rshepard at appl-ecosys.com
Fri Jun 26 18:13:54 UTC 2015


On Fri, 26 Jun 2015, Rich Shepard wrote:

>   The regex I tried to quote the year portion of the date:
> 	,\([:digit:]\{4\}-[:digit:]\{2\}\) RET ,'\1
> did nothing.

   Very strange. When I tried to change chunks using [:digit:] and [:alpha:]
no changes were made. Same with [0-9] or [A-Za-z] appended with the number
of digits/characters. Yet, when I specified [0-9] or [A-Za-z] for each digit
or character it worked. Inelegant, but the job's done.

Rich



More information about the PLUG mailing list