From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Regular Expression Parser in Emacs Lisp Date: 25 Sep 2009 12:27:36 GMT Message-ID: References: <74e8c4e4-71f7-4c75-bbd0-b1480b4a81d5@o13g2000vbl.googlegroups.com> <6f9bbe70-083c-43b0-864a-b2ac050605d1@f33g2000vbm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1253883123 6780 80.91.229.12 (25 Sep 2009 12:52:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Sep 2009 12:52:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 25 14:51:56 2009 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.50) id 1MrAFP-0008Do-Ck for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Sep 2009 14:50:03 +0200 Original-Received: from localhost ([127.0.0.1]:46176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrAFO-0000nW-Sd for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Sep 2009 08:50:02 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-X-Trace: individual.net ccFPiKz5MN8W33PEz/Wr7AtgMLlMaIdxfKParjh6C5KKoV1nQE Cancel-Lock: sha1:yXUJzxAk2M1b4R7jd0nbnFWvZ3o= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.9 (Linux) Original-Xref: news.stanford.edu gnu.emacs.help:173351 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:68469 Archived-At: Nordlöw wrote: > I need a way to figure > out if a regexp has a maximum match length and if so what that length > is. do you need a full-blown regexp parser for that? AFAICT the regexp syntax defines precisely which tokens may match more than one character, and in those cases, the maximum number of characters matched is not given, so that the maximum length is not defined. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)