help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: query-replace-regexp interactive replacement string


From: Deniz Dogan
Subject: Re: query-replace-regexp interactive replacement string
Date: Thu, 3 Mar 2011 09:35:23 +0100

2011/3/3 Suvayu Ali <address@hidden>:
> On Thu, 3 Mar 2011 09:03:38 +0100
> Deniz Dogan <address@hidden> wrote:
>
>> 2011/3/2 suvayu ali <address@hidden>:
>> > Hi Emacs users,
>> >
>> > I wanted to replace interactively all numbers in the text of an
>> > org-mode document with the number in words, so I tried:
>> >
>> > `C-M-% [0-9]+ RET \? RET'
>> >
>> > But this gives me an error like this:
>> > ...
>> >
>>
>> Weird, it doesn't work for me either.  However, if I use
>> M-x replace-regexp it does work. In "(emacs) Regexp Replace" it also
>> mentions \?.
>>
>
> Thank you for looking into this, I can also confirm that it works for me
> with replace-regexp but not query-replace-regexp.
>
> Could it be a bug?
>

I'm by no means an expert on the subject, I didn't even know about the
"\?" feature, but now we're two people confused by the documentation
vs. the behavior. If it's not a functionality bug, it's a
documentation bug. Please file a report.

Thanks,
Deniz Dogan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]