all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.