From schneiderjacob@example.net  Wed Jul 19 15:32:14 2000
Return-Path: <schneiderjacob@example.net>
Mailing-List: contact schneiderjacob@example.net; run by ezmlm
Delivered-To: mailing list schneiderjacob@example.net
Received: (qmail 14714 invoked from network); 19 Jul 2000 15:32:14 -0000
Received: from co3000669-a.carlnfd1.nsw.optushome.com.au (83.161.120.155)
  by locus.apache.org with SMTP; 19 Jul 2000 15:32:14 -0000
Received: (qmail 981 invoked from network); 19 Jul 2000 16:28:45 -0000
Received: from note.home.thirdfloor.com.au (HELO thirdnote) (83.161.120.155)
  by ingate.home.thirdfloor.com.au with SMTP; 19 Jul 2000 16:28:45 -0000
From: "Peter Wilkinson" <schneiderjacob@example.net>
To: <schneiderjacob@example.net>
Subject: Limits on paren pairs
Date: Thu, 20 Jul 2000 01:31:43 +1000
Message-ID: <schneiderjacob@example.net>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0014_01BFF1EA.43EDC340"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Importance: Normal
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

This is a multi-part message in MIME format.

------=_NextPart_000_0014_01BFF1EA.43EDC340
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Does anyone know why RE.java and RECompiler.java hava a 'max paren' set to
16??? Is this for compliance with a particular spec or just an
implementation choice???

Thanks,

PeterW.

Peter Wilkinson
schneiderjacob@example.net



------=_NextPart_000_0014_01BFF1EA.43EDC340
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY style=3D"FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Lucida Sans =
Unicode"=20
background=3D"">
<DIV><SPAN class=3D160292815-19072000>Does anyone know why RE.java and=20
RECompiler.java hava a 'max paren' set to 16??? Is this for compliance =
with a=20
particular spec or just an implementation choice???</SPAN></DIV>
<DIV><SPAN class=3D160292815-19072000></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D160292815-19072000>Thanks,</SPAN></DIV>
<DIV><SPAN class=3D160292815-19072000></SPAN>&nbsp;</DIV>
<DIV>PeterW.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Peter Wilkinson</DIV>
<DIV><A=20
href=3D"mailto:schneiderjacob@example.net">schneiderjacob@example.net=
</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0014_01BFF1EA.43EDC340--


From schneiderjacob@example.net  Fri Jul 21 00:22:39 2000
Return-Path: <schneiderjacob@example.net>
Mailing-List: contact schneiderjacob@example.net; run by ezmlm
Delivered-To: mailing list schneiderjacob@example.net
Received: (qmail 28972 invoked from network); 21 Jul 2000 00:22:39 -0000
Received: from mail.clearink.com (HELO clearink.com) (83.161.120.155)
  by locus.apache.org with SMTP; 21 Jul 2000 00:22:39 -0000
Received: from [83.161.120.155] ([83.161.120.155])
	by clearink.com (8.10.2/8.10.2) with ESMTP id e6L0MRv08054
	for <schneiderjacob@example.net>; Thu, 20 Jul 2000 17:22:27 -0700
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
Date: Thu, 20 Jul 2000 17:22:38 -0700
Subject: Re: Limits on paren pairs
From: Jon Stevens <schneiderjacob@example.net>
To: <schneiderjacob@example.net>
Message-ID: <schneiderjacob@example.net>
In-Reply-To: <schneiderjacob@example.net>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

on 7/19/2000 8:31 AM, "Peter Wilkinson" <schneiderjacob@example.net>
wrote:

> Does anyone know why RE.java and RECompiler.java hava a 'max paren' set to
> 16??? Is this for compliance with a particular spec or just an
> implementation choice???
> 
> Thanks,
> 
> PeterW.
> 
> Peter Wilkinson
> schneiderjacob@example.net


Probably just an implementation choice for speed reasons. Since you have the
source code, you can change it or submit a patch that moves it into a
properties file. :-)

-jon


From schneiderjacob@example.net  Fri Jul 21 00:23:13 2000
Return-Path: <schneiderjacob@example.net>
Mailing-List: contact schneiderjacob@example.net; run by ezmlm
Delivered-To: mailing list schneiderjacob@example.net
Received: (qmail 29078 invoked from network); 21 Jul 2000 00:23:13 -0000
Received: from mail.clearink.com (HELO clearink.com) (83.161.120.155)
  by locus.apache.org with SMTP; 21 Jul 2000 00:23:13 -0000
Received: from [83.161.120.155] ([83.161.120.155])
	by clearink.com (8.10.2/8.10.2) with ESMTP id e6L0N2v08093
	for <schneiderjacob@example.net>; Thu, 20 Jul 2000 17:23:02 -0700
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
Date: Thu, 20 Jul 2000 17:23:13 -0700
Subject: Re: confusing behaviour of regexp code
From: Jon Stevens <schneiderjacob@example.net>
To: <schneiderjacob@example.net>
Message-ID: <schneiderjacob@example.net>
In-Reply-To: <schneiderjacob@example.net>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

on 6/29/2000 10:58 AM, "Nathan Coast" <schneiderjacob@example.net>
wrote:

> firstly is this the correct place to be sending these sort of questions?

yes.

> why should the ordering of the character values within [  ] be significant?
> 
> e.g. this string "-12+)( 3   "
> 
> is failed by
> 
> ^[\\(\\)0-9\\-\\+ ]+$
> 
> and passed by
> 
> ^[0-9\\-\\+ \\(\\)]+$

Ug. I'm no regex expert, but it sounds like it could be a bug.

-jon



{'source': 'Apache Software Foundation Public Mail Archives'}