From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryan Bowman Newsgroups: gmane.emacs.help Subject: regex support Date: Thu, 28 Apr 2005 14:29:56 -0700 (PDT) Message-ID: <20050428212956.16723.qmail@web51902.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114723950 24271 80.91.229.2 (28 Apr 2005 21:32:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2005 21:32:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 23:32:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DRGbl-00053l-Ns for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Apr 2005 23:31:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRGhy-0000I4-54 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Apr 2005 17:38:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DRGha-0000FI-IN for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 17:37:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DRGhY-0000EP-FF for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 17:37:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRGhY-0007Nf-D5 for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 17:37:40 -0400 Original-Received: from [206.190.39.45] (helo=web51902.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1DRGeB-0006FE-CG for help-gnu-emacs@gnu.org; Thu, 28 Apr 2005 17:34:11 -0400 Original-Received: (qmail 16725 invoked by uid 60001); 28 Apr 2005 21:29:56 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=GVjPkwz5AFAo9p3ryqWtQbvyydgZe6h/7HXiWHw6gUXay0qewGuzM1wXKPgugK/LzyuOs0zxRUBCQE/9GXwZmQrWFpyHwajnrQTuZrmHWL7DCKBGMMQfHkOz1DkjrV5/gMNI9pZ+5dnOMiTWWoIEEpgW8G4mTUSxzr3FGMSKNXE= ; Original-Received: from [208.11.76.5] by web51902.mail.yahoo.com via HTTP; Thu, 28 Apr 2005 14:29:56 PDT Original-To: help-gnu-emacs@gnu.org 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:26123 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26123 Does emacs support the regex syntax {4} or any of it's variants? I'd like to match a date a la 2005-04-19, so I'm trying (for the year part) something like "[0-9]{4}", but unless I'm doing something wrong it doesn't seem to be working. Assuming it doesn't support that, is there a better way to match an string of digits of length 4 than "[0-9][0-9][0-9][0-9]"? ---- Ryan Bowman While any text editor can save your files, only Emacs can save your soul. -- Per Abrahamsen Emacs is not built by hate of vi. vi is irrelevant - it is no more than a strange punishment that the unbelievers submit themselves to. -- Matan Ninio ---- __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail