From ann78@example.com  Fri Dec  1 06:27:57 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 36627 invoked from network); 1 Dec 2000 06:27:57 -0000
Received: from gencat.es (HELO mail.governacio-ri.gencat.es) (83.161.120.155)
  by locus.apache.org with SMTP; 1 Dec 2000 06:27:57 -0000
Received: from aks011 (1Cust184.tnt1.mia5.da.uu.net [83.161.120.155]) by mail.governacio-ri.gencat.es with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id X8T2KACP; Fri, 1 Dec 2000 07:10:53 +0100
To: ann78@example.com
Bcc: ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com, ann78@example.com
From: <ann78@example.com>
Subject: REVERSE the AGING PROCESS 10-20 Years!
MIME-Version: 1.0
Content-Type: text/plain; charset=unknown-8bit
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N


HAVE YOU HEARD OF HUMAN GROWTH HORMONE (HGH)???

Released by your own pituitary gland, HGH starts
declining in your 20s, even more in your 30s and 40s,
eventually resulting in the shrinkage of major
organs-plus all other symptoms related to old age.

THIS CAN NOW BE REVERSED!!! IN THOUSANDS OF CLINICAL
STUDIES, HGH HAS BEEN SHOWN TO ACCOMPLISH THE FOLLOWING:

* Reduce Body Fat Without Dieting
   Build Lean Muscle WITHOUT EXERCISE!

* Enhance Sexual Performance

* Remove Wrinkles and Cellulite

* Lower Blood Pressure and improve Cholesterol Profile

* Improve Sleep, Vision and Memory

* Restore Hair Color and Growth

* Strengthen the Immune System

* Increase Energy and Cardiac Output

* Turn back your body's Biological Time Clock 10-20
   years in 6 months of usage !!!

You don't have to spend thousands of dollars on shots.
You don't have to spend the $139.00 per bottle that
HGH is selling for at some Clinics in the
United States.

For the next 30 Days, you can obtain a complete
one-month supply of our HGH releaser for our special
"New Customers" price of just $69.95 plus $6.00
shipping and handling. To ensure a constant supply and
to SAVE EVEN MORE, you can order with confidence
3 bottles of HGH and GET 1 FREE - that's just $209.85 for
4 bottles, plus $6.00 shipping and handling.
You SAVE $69.95! ORDER TODAY!

Payment Methods

You may FAX or Postal Mail Checks, MasterCard, Visa,
& American Express payments. Money Orders
are accepted only by Postal Mail.


Step 1: Place a check by your desired quanity.


______ 1 Bottle of HGH $69.95


______ 2 Bottles of HGH $131.90 ($65.95 a bottle)


______ 4 Bottles of HGH (Buy 3 get 1 FREE. SAVE $69.95) $209.85


Please add $6 shipping and handling for any size order.
[ Total cost including shipping & handling,
1 bottle=$75.95, 2 bottles=$137.90, 4 bottles=$215.85 ]

International shipping, please add $35 for any size order
[ Total cost including shipping & handling,
1 bottle=$104.95, 2 bottles=$166.90, 4 bottles=$244.85 ]
Foreign checks are not accepted.  Credit cards & international
money orders only.

Step 2: Place a check by your desired payment method
and complete fields if necessary.


_____Check or CHECK-BY-FAX [details below]


_____Money Order


_____American Express
Account Number__________________ Exp____/____

_____Visa
Account Number__________________ Exp____/____

_____MasterCard
Account Number__________________ Exp____/____


Please make your check or money order payable to
"Lion Sciences National".

Step 3: Please complete and print the following fields clearly.


Name ___________________________________________________


Address _________________________________________________


City ____________________________________________________


State ___________________________________________________


Zip _____________________________________________________


E-mail __________________________________________________


Signature _________________________________________________
[ required for check and credit card orders]



            Toll Free FAX Order Line: 447-464-7589

If faxing in your order, please state whether you require
a fax, email, or no ann78@example.com.
Allow up to one day for confirmation, if requested.
FAX orders are processed immediately.

            Or, print & mail to:

Lion Sciences National
273 S. State Rd. 7  #193
Margate, FL 33068-5727


        ______________________________________________________


*CHECK BY FAX ORDERS: Complete the check as normal. Tape
the check in the area below. Below the check, clearly write
the check number, all numbers at the bottom of the check,
& your name. Tape the check below and fax the check to the
toll free FAX number above. Void the check. Our merchant
will electronically debit your account for the amount of
the check; your reference number for this transaction will
be your check number. Nothing could be safer & easier !

                          TAPE CHECK BELOW
















_____________________________________________________________

This is a one time mailing: Removal is automatic and no further
contact is necessary. Please Note: HGH is not intended to
diagnose, treat, cure or prevent any disease. The FDA has not
evaluated these statements.

From ann78@example.com  Thu Dec  7 09:25:47 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 53375 invoked from network); 7 Dec 2000 09:25:47 -0000
Received: from d12lmsgate.de.ibm.com (83.161.120.155)
  by locus.apache.org with SMTP; 7 Dec 2000 09:25:47 -0000
Received: from d12relay02.de.ibm.com (d12relay02.de.ibm.com [83.161.120.155])
	by d12lmsgate.de.ibm.com (1.0.0) with ESMTP id KAA304600
	for <ann78@example.com>; Thu, 7 Dec 2000 10:25:19 +0100
From: ann78@example.com
Received: from d12mta02.de.ibm.com (d12mta01_cs0 [83.161.120.155])
	by d12relay02.de.ibm.com (8.8.8m3/NCO v4.95) with SMTP id KAA85116
	for <ann78@example.com>; Thu, 7 Dec 2000 10:25:19 +0100
Received: by d12mta02.de.ibm.com(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id C12569AE.0033C01A ; Thu, 7 Dec 2000 10:25:15 +0100
X-Lotus-FromDomain: IBMIL@IBMDE
To: ann78@example.com
Message-ID: <ann78@example.com>
Date: Thu, 7 Dec 2000 11:22:32 +0200
Subject: Does Regexp supports Perl5 ?
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N



Hello,

I'm considering using Regexp and was wondering whether Regexp supports
Perl5 regular expressions ?


Carmel Kent
IBM - Haifa Research Lab
Phone: 972-4-8296-399, 972-3-6979-053
Email: ann78@example.com



From ann78@example.com  Thu Dec  7 09:36:14 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 57286 invoked from network); 7 Dec 2000 09:36:14 -0000
Received: from ms1.nttdata.co.jp (HELO ms.nttdata.co.jp) (83.161.120.155)
  by locus.apache.org with SMTP; 7 Dec 2000 09:36:14 -0000
Received: from mail1.nttdata.co.jp ([83.161.120.155])
	by ms.nttdata.co.jp (8.9.3/3.7W-NTTDATA-TOP-08/31/00) with ESMTP id SAA19240
	for <ann78@example.com>; Thu, 7 Dec 2000 18:36:08 +0900 (JST)
Received: from geb.rd.nttdata.co.jp (localhost [83.161.120.155])
	by mail1.nttdata.co.jp (8.9.1/3.7W-NTTDATA-TOP-09/22/00) with ESMTP id SAA06881
	for <ann78@example.com>; Thu, 7 Dec 2000 18:36:32 +0900 (JST)
Received: from osiris.rd.nttdata.co.jp (osiris.rd.nttdata.co.jp [83.161.120.155])
	by geb.rd.nttdata.co.jp (8.9.3/3.7W/R8V8) with ESMTP id SAA24648
	for <ann78@example.com>; Thu, 7 Dec 2000 18:36:07 +0900 (JST)
Received: from piano (piano.rd.nttdata.co.jp [83.161.120.155])
	by osiris.rd.nttdata.co.jp (8.10.1/3.7W/R8V8) with SMTP id eB79a5t13925
	for <ann78@example.com>; Thu, 7 Dec 2000 18:36:05 +0900 (JST)
Message-ID: <ann78@example.com>
From: "Takashi Okamoto" <ann78@example.com>
To: <ann78@example.com>
References: <ann78@example.com>
Subject: Re: Does Regexp supports Perl5 ?
Date: Thu, 7 Dec 2000 18:43:46 +0900
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

From: <ann78@example.com>
To: <ann78@example.com>
Sent: Thursday, December 07, 2000 6:22 PM
Subject: Does Regexp supports Perl5 ?

> I'm considering using Regexp and was wondering whether Regexp supports
> Perl5 regular expressions ?

Regexp supports some of Perl5 regular expressions.
You can take more infomation here.
http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html
--------------------
Takashi Okamoto



From ann78@example.com  Thu Dec  7 15:16:06 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 15393 invoked from network); 7 Dec 2000 15:16:06 -0000
Received: from unknown (HELO agonie.poseur.com) (ann78@example.com)
  by locus.apache.org with SMTP; 7 Dec 2000 15:16:06 -0000
Received: (from edw@localhost)
	by agonie.poseur.com (8.9.3/8.9.3) id KAA40371
	for ann78@example.com; Thu, 7 Dec 2000 10:14:47 -0500 (EST)
	(envelope-from edw)
Date: Thu, 7 Dec 2000 10:14:47 -0500 (EST)
From: Ed Watkeys <ann78@example.com>
Message-Id: <ann78@example.com>
To: ann78@example.com
Subject: speaking of regexp features...
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

Hi,

I had been using the gnu.regexp package for a while quite happily, but
I switched to the Apache package out of a feeling that it 1.) will
become the de facto standard regexp package, so I should jump on the
bandwagon now instead of later, and 2.) will receive more attention in
terms of fixing bugs, receiving new features, etc.

So anyway, one feature that I sorely miss is the ability to specify
backreferences in replacement strings. Instead, you need to build your
own by calling getParen(), which seems odd, since the code sequence
looks like this:

re.match(s);
String last_name = re.getParen(1);
String first_name = re.getParent(2);
re.subst(s, last_name + " " + first_name);

The regexp is being run on 's' twice (in match and subst), which seems
unnecessary. Also, this code doesn't work properly if there are
multiple matches: every match will be replaced with the same
replacement string. Writing this "properly" would require a loop the
deals with matches one at a time. The way this should be written,
imho, is this:

re.subst(s, "\\1, \\2");

or

re.subst(s, "$2 $1");

This incidentally, is how the gnu.regexp package's RE.substituteAll()
method works. I was so astonished that subst() didn't work that way
that I spent some time wading through the source making sure that I
was right. Perhaps I am smoking crack and there is already such a
feature in the Apache org.apache.regexp package. If so, I would
appreciate being enlightened. If not, I would suggest that this is an
extremely important feature, given the class's current inability to
support efficient or concise client code to implement the equivalent
of for example s/^(.*),\s*(.*)$/\2 \1/g;

Regards,
Ed


From ann78@example.com  Thu Dec  7 17:18:12 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 30446 invoked from network); 7 Dec 2000 17:18:12 -0000
Received: from hellfire.clearink.com (HELO clearink.com) (83.161.120.155)
  by locus.apache.org with SMTP; 7 Dec 2000 17:18:12 -0000
Received: from [83.161.120.155] ([83.161.120.155])
	by clearink.com (8.10.2/8.10.2) with ESMTP id eB7HIBl30286
	for <ann78@example.com>; Thu, 7 Dec 2000 09:18:11 -0800
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
Date: Thu, 07 Dec 2000 09:18:14 -0800
Subject: Re: Does Regexp supports Perl5 ?
From: Jon Stevens <ann78@example.com>
To: <ann78@example.com>
Message-ID: <ann78@example.com>
In-Reply-To: <ann78@example.com>
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 12/7/2000 1:22 AM, "ann78@example.com" <ann78@example.com> wrote:

> Hello,
> 
> I'm considering using Regexp and was wondering whether Regexp supports
> Perl5 regular expressions ?
> 
> 
> Carmel Kent
> IBM - Haifa Research Lab
> Phone: 972-4-8296-399, 972-3-6979-053
> Email: ann78@example.com
> 

You can also use the ORO code which definitely does.

<http://jakarta.apache.org/oro/>

-jon

-- 
Honk if you love peace and quiet.



From ann78@example.com  Thu Dec  7 17:19:13 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 31247 invoked from network); 7 Dec 2000 17:19:13 -0000
Received: from hellfire.clearink.com (HELO clearink.com) (83.161.120.155)
  by locus.apache.org with SMTP; 7 Dec 2000 17:19:13 -0000
Received: from [83.161.120.155] ([83.161.120.155])
	by clearink.com (8.10.2/8.10.2) with ESMTP id eB7HJCl30338
	for <ann78@example.com>; Thu, 7 Dec 2000 09:19:13 -0800
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
Date: Thu, 07 Dec 2000 09:19:13 -0800
Subject: Re: speaking of regexp features...
From: Jon Stevens <ann78@example.com>
To: <ann78@example.com>
Message-ID: <ann78@example.com>
In-Reply-To: <ann78@example.com>
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 12/7/2000 7:14 AM, "Ed Watkeys" <ann78@example.com> wrote:

> So anyway, one feature that I sorely miss is the ability to specify
> backreferences in replacement strings. Instead, you need to build your
> own by calling getParen(), which seems odd, since the code sequence
> looks like this:

If there is a bug, submit a patch.

If there is a feature missing, submit a patch.

If you don't want to do either, check to see if ORO supports what you want.

<http://jakarta.apache.org/oro/>

-jon

-- 
Honk if you love peace and quiet.



From ann78@example.com  Thu Dec  7 18:13:53 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 75071 invoked from network); 7 Dec 2000 18:13:53 -0000
Received: from mail.kurion.com (HELO kurion?exch.kurion.com) (83.161.120.155)
  by locus.apache.org with SMTP; 7 Dec 2000 18:13:53 -0000
Received: by kurion_exch.kurion.com with Internet Mail Service (5.5.2650.21)
	id <XRRNYB2Y>; Thu, 7 Dec 2000 12:12:32 -0600
Message-ID: <81CC73FC2FACD311A2D200508B8B88AA1ADADA@kurion_exch.kurion.com>
From: Dan Lipofsky <ann78@example.com>
To: "'ann78@example.com'" <ann78@example.com>
Subject: RE: speaking of regexp features...
Date: Thu, 7 Dec 2000 12:12:31 -0600 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

> I had been using the gnu.regexp package for a while quite happily, but
> I switched to the Apache package out of a feeling that it 1.) will
> become the de facto standard regexp package, so I should jump on the
> bandwagon now instead of later, and 2.) will receive more attention in
> terms of fixing bugs, receiving new features, etc.
> 
> So anyway, one feature that I sorely miss is the ability to specify
> backreferences in replacement strings.

The ORO package, also from Apache, does this nicely.
But it is generally more complex to use.
- Dan

From ann78@example.com  Thu Dec  7 21:52:02 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 32268 invoked from network); 7 Dec 2000 21:52:02 -0000
Received: from hvmta03-ext.us.psimail.psi.net (HELO hvmta03-stg.us.psimail.psi.net) (83.161.120.155)
  by locus.apache.org with SMTP; 7 Dec 2000 21:52:02 -0000
Received: from dfnettel1002.digitalfocus.com ([83.161.120.155])
          by hvmta03-stg.us.psimail.psi.net
          (InterMail v83.161.120.155 201-229-111) with SMTP
          id <ann78@example.com>;
          Thu, 7 Dec 2000 16:51:28 -0500
Message-ID: <ann78@example.com>
Received: from marvin.df.com by dfnettel1002.digitalfocus.com
          via smtpd (for smtp.ip.inter.net [83.161.120.155]) with SMTP; 7 Dec 2000 21:44:57 UT
Date: Thu, 07 Dec 2000 16:52:57 -0500
From: Daniel Barclay <ann78@example.com>
Reply-To: ann78@example.com
Organization: Digital Focus
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ann78@example.com
Subject: Re: speaking of regexp features...
References: <ann78@example.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

Jon Stevens wrote:
> 
> on 12/7/2000 7:14 AM, "Ed Watkeys" <ann78@example.com> wrote:
> 
> > So anyway, one feature that I sorely miss is the ability to specify
> > backreferences in replacement strings. Instead, you need to build your
> > own by calling getParen(), which seems odd, since the code sequence
> > looks like this:
> 
> If there is a bug, submit a patch.

The project doesn't accept bug reports?

> If there is a feature missing, submit a patch.

The project accept enhancement suggestions?



-- 
Daniel Barclay
Digital Focus
ann78@example.com

From ann78@example.com  Fri Dec  8 01:45:41 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 86140 invoked from network); 8 Dec 2000 01:45:41 -0000
Received: from hellfire.clearink.com (HELO clearink.com) (83.161.120.155)
  by locus.apache.org with SMTP; 8 Dec 2000 01:45:41 -0000
Received: (from yanni@localhost)
	by clearink.com (8.10.2/8.10.2) id eB81jfp01855
	for ann78@example.com; Thu, 7 Dec 2000 17:45:41 -0800
Message-Id: <ann78@example.com>
Subject: Re: speaking of regexp features...
To: ann78@example.com
Date: Thu, 7 Dec 2000 17:45:41 -0800 (PST)
In-Reply-To: <ann78@example.com> from "Daniel Barclay" at Dec 07, 2000 04:52:57 PM
From: ann78@example.com
X-Mailer: ELM [version 2.5 PL3]
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

> 
> Jon Stevens wrote:
> > 
> > on 12/7/2000 7:14 AM, "Ed Watkeys" <ann78@example.com> wrote:
> > 
> > > So anyway, one feature that I sorely miss is the ability to specify
> > > backreferences in replacement strings. Instead, you need to build your
> > > own by calling getParen(), which seems odd, since the code sequence
> > > looks like this:
> > 
> > If there is a bug, submit a patch.
> 
> The project doesn't accept bug reports?

Well, we don't really have a way to track them right now and given
that this is a volunteer organization, there isn't necessarily someone to
fix them.

> > If there is a feature missing, submit a patch.
> 
> The project accept enhancement suggestions?

Well, we don't really have a way to track them right now and given
that this is a volunteer organization, there isn't necessarily someone to
implement them.

thanks,

-jon

-- 
Scarab -
      Java Servlet Based - Open Source 
         Bug/Issue Tracking System
        <http://scarab.tigris.org/>

From ann78@example.com  Fri Dec  8 04:15:38 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 68106 invoked from network); 8 Dec 2000 04:15:38 -0000
Received: from cpimssmtpu03.email.msn.com (HELO smtp.email.msn.com) (83.161.120.155)
  by locus.apache.org with SMTP; 8 Dec 2000 04:15:38 -0000
Received: from sony - 83.161.120.155 by email.msn.com with Microsoft SMTPSVC;
	 Thu, 7 Dec 2000 20:15:03 -0800
Message-ID: <001501c060cd$686e5fc0$d1891b3f@sony>
From: "Girish M.Patil" <ann78@example.com>
To: <ann78@example.com>
References: <ann78@example.com>
Subject: Re: speaking of regexp features...
Date: Thu, 7 Dec 2000 23:12:58 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

Yes, I agree with Ed.  Even I wondered how come such an important feature is
missing or is not documented properly.
After spending hours on re-reading API docs and experimenting with code I
had to switch to
Jakarta-ORO 2.0.1 API (http://jakarta.apache.org/oro/index.html) . Which
also allows backreferences in replacement String/Object .
Also my simple search and replace all patterns worked 3-4 times faster than
regexp.
-Girish
----- Original Message -----
From: "Ed Watkeys" <ann78@example.com>
To: <ann78@example.com>
Sent: Thursday, December 07, 2000 10:14 AM
Subject: speaking of regexp features...


> Hi,
>
> I had been using the gnu.regexp package for a while quite happily, but
> I switched to the Apache package out of a feeling that it 1.) will
> become the de facto standard regexp package, so I should jump on the
> bandwagon now instead of later, and 2.) will receive more attention in
> terms of fixing bugs, receiving new features, etc.
>
> So anyway, one feature that I sorely miss is the ability to specify
> backreferences in replacement strings. Instead, you need to build your
> own by calling getParen(), which seems odd, since the code sequence
> looks like this:
>
> re.match(s);
> String last_name = re.getParen(1);
> String first_name = re.getParent(2);
> re.subst(s, last_name + " " + first_name);
>
> The regexp is being run on 's' twice (in match and subst), which seems
> unnecessary. Also, this code doesn't work properly if there are
> multiple matches: every match will be replaced with the same
> replacement string. Writing this "properly" would require a loop the
> deals with matches one at a time. The way this should be written,
> imho, is this:
>
> re.subst(s, "\\1, \\2");
>
> or
>
> re.subst(s, "$2 $1");
>
> This incidentally, is how the gnu.regexp package's RE.substituteAll()
> method works. I was so astonished that subst() didn't work that way
> that I spent some time wading through the source making sure that I
> was right. Perhaps I am smoking crack and there is already such a
> feature in the Apache org.apache.regexp package. If so, I would
> appreciate being enlightened. If not, I would suggest that this is an
> extremely important feature, given the class's current inability to
> support efficient or concise client code to implement the equivalent
> of for example s/^(.*),\s*(.*)$/\2 \1/g;
>
> Regards,
> Ed
>
>



From ann78@example.com  Fri Dec  8 04:25:42 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 77704 invoked from network); 8 Dec 2000 04:25:42 -0000
Received: from hellfire.clearink.com (HELO clearink.com) (83.161.120.155)
  by locus.apache.org with SMTP; 8 Dec 2000 04:25:42 -0000
Received: (from yanni@localhost)
	by clearink.com (8.10.2/8.10.2) id eB84Pha05973
	for ann78@example.com; Thu, 7 Dec 2000 20:25:43 -0800
Message-Id: <ann78@example.com>
Subject: Re: speaking of regexp features...
To: ann78@example.com
Date: Thu, 7 Dec 2000 20:25:43 -0800 (PST)
In-Reply-To: <001501c060cd$686e5fc0$d1891b3f@sony> from "Girish M.Patil" at Dec 07, 2000 11:12:58 PM
From: ann78@example.com
X-Mailer: ELM [version 2.5 PL3]
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

> 
> Yes, I agree with Ed.  Even I wondered how come such an important feature is
> missing or is not documented properly.
> After spending hours on re-reading API docs and experimenting with code I
> had to switch to
> Jakarta-ORO 2.0.1 API (http://jakarta.apache.org/oro/index.html) . Which
> also allows backreferences in replacement String/Object .
> Also my simple search and replace all patterns worked 3-4 times faster than
> regexp.
> -Girish

There isn't much to wonder if you understand the history of Regexp which
is documented on the website.

-jon

-- 
Scarab -
      Java Servlet Based - Open Source 
         Bug/Issue Tracking System
        <http://scarab.tigris.org/>

From ann78@example.com  Fri Dec  8 15:04:25 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 2937 invoked from network); 8 Dec 2000 15:04:25 -0000
Received: from hvmta02-ext.us.psimail.psi.net (HELO hvmta02-stg.us.psimail.psi.net) (83.161.120.155)
  by locus.apache.org with SMTP; 8 Dec 2000 15:04:25 -0000
Received: from dfnettel1002.digitalfocus.com ([83.161.120.155])
          by hvmta02-stg.us.psimail.psi.net
          (InterMail v83.161.120.155 201-229-111) with SMTP
          id <ann78@example.com>;
          Fri, 8 Dec 2000 10:03:58 -0500
Message-ID: <ann78@example.com>
Received: from marvin.df.com by dfnettel1002.digitalfocus.com
          via smtpd (for smtp.ip.inter.net [83.161.120.155]) with SMTP; 8 Dec 2000 14:57:21 UT
Date: Fri, 08 Dec 2000 10:05:29 -0500
From: Daniel Barclay <ann78@example.com>
Reply-To: ann78@example.com
Organization: Digital Focus
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ann78@example.com
Subject: Re: speaking of regexp features... (off main topic)
References: <ann78@example.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

ann78@example.com wrote:
> 
> >
> > Jon Stevens wrote:
> > >
> > > on 12/7/2000 7:14 AM, "Ed Watkeys" <ann78@example.com> wrote:
> > >
> > > > So anyway, one feature that I sorely miss is the ability to specify
> > > > backreferences in replacement strings. Instead, you need to build your
> > > > own by calling getParen(), which seems odd, since the code sequence
> > > > looks like this:
> > >
> > > If there is a bug, submit a patch.
> >
> > The project doesn't accept bug reports?
> 
> Well, we don't really have a way to track them right now and given
> that this is a volunteer organization, there isn't necessarily someone to
> fix them.
> 
> > > If there is a feature missing, submit a patch.
> >
> > The project accept enhancement suggestions?
> 
> Well, we don't really have a way to track them right now and given
> that this is a volunteer organization, there isn't necessarily someone to
> implement them.
> 
> thanks,

Yes, I know that you are part of a group of volunteers and you can't 
go implement every new feature someone wants.  That's why I wrote 
"enhancement suggestions" instead of "enhancement requests."

However, I'd hope that you'd have enough interest in the quality of 
the code that already exists to at least track bugs and to try to fix 
any important ones, especially given that you're associating yourselves
with the reputation of the Apache brand name.  Your snide remarks and 
attitude, and those of other members of the XML-Apache and Jakarta 
projects, are degrading that reputation.



Daniel
-- 
Daniel Barclay
Digital Focus
ann78@example.com

From ann78@example.com  Fri Dec  8 18:54:34 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 96342 invoked from network); 8 Dec 2000 18:54:34 -0000
Received: from hellfire.clearink.com (HELO clearink.com) (83.161.120.155)
  by locus.apache.org with SMTP; 8 Dec 2000 18:54:34 -0000
Received: from [83.161.120.155] ([83.161.120.155])
	by clearink.com (8.10.2/8.10.2) with ESMTP id eB8IsWl30672
	for <ann78@example.com>; Fri, 8 Dec 2000 10:54:32 -0800
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
Date: Fri, 08 Dec 2000 10:54:37 -0800
Subject: Re: speaking of regexp features... (off main topic)
From: Jon Stevens <ann78@example.com>
To: <ann78@example.com>
Message-ID: <ann78@example.com>
In-Reply-To: <ann78@example.com>
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 12/8/2000 7:05 AM, "Daniel Barclay" <ann78@example.com>
wrote:

> Yes, I know that you are part of a group of volunteers and you can't
> go implement every new feature someone wants.  That's why I wrote
> "enhancement suggestions" instead of "enhancement requests."

Oh, I'm so glad that you were careful enough with your wording to make sure
you wrote the right thing so that I would understand what you were talking
about.

> However, I'd hope that you'd have enough interest in the quality of
> the code that already exists to at least track bugs and to try to fix
> any important ones, especially given that you're associating yourselves
> with the reputation of the Apache brand name.

Hello? Someone just posted a patch yesterday and I committed it in less than
20 minutes that allows the regexp product to be bundled with Debian. I think
that shows plenty of interest.

As for making actual fixes to the source code. I'm going to re-state that
I'm not an expert in this area at all and I never claimed to be. I simply
was the catalyst and sponsor for this project. I'm not going to go digging
into this code base to fix things. I'm going to rely on volunteers to help
get things fixed by having people submit patches. That is how volunteer
based organizations work.

You wouldn't walk into a homeless shelter and start making suggestions on
how to improve the quality of the life of the people there. Instead, you
would volunteer to work with the people to help them improve their quality
of life.

>  Your snide remarks and
> attitude, and those of other members of the XML-Apache and Jakarta
> projects, are degrading that reputation.

Yea, the complete lack of appreciation and understanding by the users like
you really is great motivation for me to be nice to you or even pay
attention to you.

thanks,

-jon


From ann78@example.com  Tue Dec 12 17:42:29 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 84435 invoked from network); 12 Dec 2000 17:42:29 -0000
Received: from mta03-svc.ntlworld.com (83.161.120.155)
  by locus.apache.org with SMTP; 12 Dec 2000 17:42:29 -0000
Received: from smtp.ntlworld.com ([83.161.120.155]) by mta03-svc.ntlworld.com
          (InterMail vM.83.161.120.155 201-229-119-110) with SMTP
          id <ann78@example.com>
          for <ann78@example.com>;
          Tue, 12 Dec 2000 17:42:28 +0000
Message-Id: <ann78@example.com>
Date: Tue, 12 Dec 2000 4:37:21 PM +0000
Content-Type: text/plain; charset=us-ascii
Organization: KlubDJ
X-Mailer: Dynamic Opt-In Emailer (Win95/98/NT)
Subject: A Christmas present from "The DJ Agency" KlubDJ
From: "KlubDJ" <ann78@example.com>
To: ann78@example.com
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

Hi, 

KlubDJ still have DJ's available across the country for the festive season! We even have a few slots left for the much requested Producers, Remixes and DJ's, LUMINA... 

Please contact us for more details preferably by email for initial enquiries 

ann78@example.com 


Happy Christmas and Mental New Year !!!! 


From all at KlubDJ 
w: www.klubdj.co.uk 
e: ann78@example.com 
t: 07092 171780 
f: 07092 171790


From ann78@example.com  Fri Dec 15 22:32:08 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 59251 invoked from network); 15 Dec 2000 22:32:08 -0000
Received: from oe23.law3.hotmail.com (HELO hotmail.com) (83.161.120.155)
  by locus.apache.org with SMTP; 15 Dec 2000 22:32:08 -0000
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Fri, 15 Dec 2000 14:31:42 -0800
X-Originating-IP: [83.161.120.155]
From: "Yuriy Zubarev" <ann78@example.com>
To: <ann78@example.com>
Subject: Understanding patterns
Date: Fri, 15 Dec 2000 14:39:55 -0800
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 447-464-7589
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <ann78@example.com>
X-OriginalArrivalTime: 15 Dec 2000 22:31:42.0281 (UTC) FILETIME=[CC51FB90:01C066E6]
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

Hello everybody!

My name is Yuriy, I'm a new here.

Downloading regexp package I realized that I wouldn't advance
without understanding patterns. An information in Regexp 1.2 API
is not enough for those who doesn't have any Perl (or something
like that) background. Therefore I'm begging you to help me.
May be somebody knows where to get an explicit documentation
with lots of examples about patterns or may be somebody can
give me an example. For instance, I need to substitute the whole
sequence of symbols between keywords "BEGIN" and "END"
(including these keywords) in another string. What pattern should
I use for RE.subst(str1, str2) method in that case?

Thank you and good luck,
Yuriy Zubarev



From ann78@example.com  Fri Dec 15 23:07:22 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 90187 invoked from network); 15 Dec 2000 23:07:22 -0000
Received: from pile-drivers-dock-wharf-builders-union-local-34.collab.net (HELO laswell.collab.net) (83.161.120.155)
  by locus.apache.org with SMTP; 15 Dec 2000 23:07:22 -0000
Received: (qmail 67686 invoked from network); 15 Dec 2000 23:06:06 -0000
Received: from unknown (HELO ?83.161.120.155?) (83.161.120.155)
  by laswell.collab.net with SMTP; 15 Dec 2000 23:06:06 -0000
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
Date: Fri, 15 Dec 2000 15:06:18 -0800
Subject: Re: Understanding patterns
From: Jon Stevens <ann78@example.com>
To: <ann78@example.com>
Message-ID: <ann78@example.com>
In-Reply-To: <ann78@example.com>
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 12/15/2000 2:39 PM, "Yuriy Zubarev" <ann78@example.com> wrote:

> Downloading regexp package I realized that I wouldn't advance
> without understanding patterns. An information in Regexp 1.2 API
> is not enough for those who doesn't have any Perl (or something
> like that) background. Therefore I'm begging you to help me.
> May be somebody knows where to get an explicit documentation
> with lots of examples about patterns or may be somebody can
> give me an example. For instance, I need to substitute the whole
> sequence of symbols between keywords "BEGIN" and "END"
> (including these keywords) in another string. What pattern should
> I use for RE.subst(str1, str2) method in that case?
> 
> Thank you and good luck,
> Yuriy Zubarev

There is lots of regex documentation on the net (as always, do a search on
google.com) and even books available from O'Reilly. Go read it. :-)

-jon


From ann78@example.com  Thu Dec 21 22:59:24 2000
Return-Path: <ann78@example.com>
Mailing-List: contact ann78@example.com; run by ezmlm
Delivered-To: mailing list ann78@example.com
Received: (qmail 15172 invoked from network); 21 Dec 2000 22:59:24 -0000
Received: from unknown (HELO mp.a-phys.eng.osaka-cu.ac.jp) (83.161.120.155)
  by locus.apache.org with SMTP; 21 Dec 2000 22:59:24 -0000
Received: by mp.a-phys.eng.osaka-cu.ac.jp id AA11617; Fri, 22 Dec 2000 07:49:35 +0900
Date: 21 Dec 00 3:04:34 PM
From: ann78@example.com
Message-Id: <8er997WW73NC100U>
Subject: Improve your stepfamily life
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
Apparently-To: <ann78@example.com>
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N

Does your stepfamily life resemble a soap opera more than it does the Brady
Bunch?

The Stepfamily Association of America invites you to participate in THE
NATIONAL CONFERENCE FOR STEPFAMILIES, Feb. 23-24, 2001, at the New Orleans
Marriott Hotel.

This is an opportunity, designed by knowledgeable professionals, in
stepfamilies themselves, to help you:
* Make your remarriage a success
* Create bonds with your stepchildren
* Help your children adjust emotionally
* Manage money matters unique to your family
* Get more help from legal, financial, psychological advisors
* Overcome stepfather and stepmother stereotypes
* Elicit cooperation from your children's schools
* Bring more harmony into family life

Complete conference details at http://www.edupr.com
REGISTER ONLINE!

Attend, and also enjoy Mardi Gras week in New Orleans!

Special discounts for couples, students, groups.

HOTEL IS BOOKING UP FAST. ACT NOW BEFORE ROOM BLOCK AND
AIRLINE SEATS FILL Special rates for conference attendees. Visit
http://www.edupr.com for discounts. Childcare available through a bonded
local service.

Up to 17 professional development credits available if you are an 			
educator, clinician, financial planner, social worker.

Questions? Email ann78@example.com

If you would like to be removed, please email us back with the word "Remove" in the subject line. We apologize for any inconvenience.



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