From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: harven Newsgroups: gmane.emacs.help Subject: Re: why does not work my regex-bilder right? Date: Mon, 15 Nov 2010 13:14:17 +0100 Organization: http://groups.google.com Message-ID: <871v6maina.fsf@ergodik.univ-brest.fr> References: <003d23ac-3bde-4aba-b42d-832334c94bb2@w38g2000pri.googlegroups.com> <87mxpaztp9.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291895484 19812 80.91.229.12 (9 Dec 2010 11:51:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 11:51:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 12:51:20 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQf1p-0004NK-TQ for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 12:51:18 +0100 Original-Received: from localhost ([127.0.0.1]:55205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQf1o-0006s8-Ne for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 06:51:16 -0500 Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: mathw171.univ-brest.fr Original-X-Trace: news.univ-brest.fr 1289823415 29989 172.19.130.171 (15 Nov 2010 12:16:55 GMT) Original-X-Complaints-To: usenet@news.univ-brest.fr Original-NNTP-Posting-Date: 15 Nov 2010 12:16:55 GMT User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:/JTmWy/wif/iG0VMA7paREBdUvU= Original-Path: usenet.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!feed.ac-versailles.fr!uvsq.fr!jussieu.fr!crihan.fr!news.univ-brest.fr!not-for-mail Original-Xref: usenet.stanford.edu gnu.emacs.help:182437 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77002 Archived-At: David Kastrup writes: > beonit 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\\}"