Return-Path: Delivered-To: apmail-jakarta-oro-user-archive@apache.org Received: (qmail 78318 invoked from network); 10 Feb 2003 17:51:39 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 10 Feb 2003 17:51:39 -0000 Received: (qmail 355 invoked by uid 97); 10 Feb 2003 17:53:12 -0000 Delivered-To: qmlist-jakarta-archive-oro-user@nagoya.betaversion.org Received: (qmail 348 invoked from network); 10 Feb 2003 17:53:12 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 10 Feb 2003 17:53:12 -0000 Received: (qmail 78138 invoked by uid 500); 10 Feb 2003 17:51:37 -0000 Mailing-List: contact oro-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "ORO Users List" Reply-To: "ORO Users List" Delivered-To: mailing list oro-user@jakarta.apache.org Received: (qmail 77923 invoked from network); 10 Feb 2003 17:51:35 -0000 Received: from pcp01741013pcs.howard01.md.comcast.net (HELO savarese.org) (68.54.82.236) by daedalus.apache.org with SMTP; 10 Feb 2003 17:51:35 -0000 Received: from yoda.savarese.org (yoda.savarese.org [192.168.1.4]) by savarese.org (8.9.3/8.9.3) with ESMTP id MAA20462 for ; Mon, 10 Feb 2003 12:51:41 -0500 Received: from savarese.org (localhost.localdomain [127.0.0.1]) by yoda.savarese.org (8.12.5/8.12.5) with ESMTP id h1AHpabs019403 for ; Mon, 10 Feb 2003 12:51:36 -0500 Message-Id: <200302101751.h1AHpabs019403@yoda.savarese.org> X-Mailer: exmh version 2.5 10/15/1999 with nmh-1.0.4 To: "ORO Users List" Subject: Re: Stack Overflow Problem In-reply-to: Your message of "Mon, 10 Feb 2003 16:56:10 GMT." <3E47D9AA.4731.F738D09@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 10 Feb 2003 12:51:36 -0500 From: "Daniel F. Savarese" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In message <3E47D9AA.4731.F738D09@localhost>, "Martin Thomas" writes: >Actually, exactly the same occurs using: > >String expression = "Baseline(.)*"; Er, how long is the string you're matching against? It really helps if you include the exact input you're using so that others can reproduce your problem. I shouldn't have to spend my time constructing arbitrarily large inputs with different permutations of strings (e.g., containing Baseline, not containing it, containing thousands of characters before a newline, not, etc.). Which, by the way, I just did. When you don't need capturing parentheses, don't use them. In other words: Baseline(?:.)* And when you don't need grouping, don't use it. In other words: Baseline.* As I said before, Perl regular expressions are miniature programs ... daniel --------------------------------------------------------------------- To unsubscribe, e-mail: oro-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: oro-user-help@jakarta.apache.org