* Re: why does not work my regex-bilder right?
[not found] ` <87mxpaztp9.fsf@lola.goethe.zz>
@ 2010-11-15 12:14 ` harven
0 siblings, 0 replies; only message in thread
From: harven @ 2010-11-15 12:14 UTC (permalink / raw)
To: help-gnu-emacs
David Kastrup <dak@gnu.org> writes:
> beonit <beonit@gmail.com> writes:
>
>> i want search previous digit, repeated 3 times in my regex-builder
>> mode
>>
>> "[[:digit:]]\{3\}"
>> or
>> "[[:digit:]]{3}"
>>
>> but not work. why?
>
> IIRC, repeat counts don't "specialize" the previous expression. It
> probably works to use parens for that, like
>
> \([[:digit:]]\)\{3\}
In regexp-builder you need double backquotes.
"\\([[:digit:]]\\)\\{3\\}"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-15 12:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <003d23ac-3bde-4aba-b42d-832334c94bb2@w38g2000pri.googlegroups.com>
[not found] ` <87mxpaztp9.fsf@lola.goethe.zz>
2010-11-15 12:14 ` why does not work my regex-bilder right? harven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).