On Mon, 15 Oct 2012, Galen Seitz wrote:
> BTW, emacs regex supports repeat counts.
>
> \{3\}previous character or group, repeated 3 times
> \{3,\} previous character or group, repeated 3 or more times
> \{3,6\} previous character or group, repeated 3 to 6 times
galen,
Thank you. I knew
On 10/15/2012 10:39 AM, Rich Shepard wrote:
> On Mon, 15 Oct 2012, Rogan Creswick wrote:
>
>> Doing the opposite seems to be working for me. Specifically (I used a
>> simpler example):
>>
>> M-x replace-regexp
>> query = '\([0-9][0-9][0-9]\)'
>> replace = \1
>
> Rogan,
>
>A-ha! I had the qu
On Mon, 15 Oct 2012, Rogan Creswick wrote:
> Doing the opposite seems to be working for me. Specifically (I used a
> simpler example):
>
> M-x replace-regexp
> query = '\([0-9][0-9][0-9]\)'
> replace = \1
Rogan,
A-ha! I had the quotes inside the parentheses, not outside. That does make
a hug
Hi Rich,
>Now I need to do ther reverse: remove quotes around digits to convert a
> string to a number. I've tried the above adding quotes to the query string
> and removing them from the replacement string, but that leaves the string
> unchanged. I've also tried other variants with equal lack
About a year ago Rogan taught me how to add quotes to a date string:
M-x replace-regexp
query = \([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]\)
replace = '\1'
Now I need to do ther reverse: remove quotes around digits to convert a
string to a number. I've tried the above adding quotes to the