That is why I amended my original post from "regex" to 
"character class" a regex as soon as I read it.

Steve
 
Hopefully helpfully yours,
Steve
-- 
Steven Tolkin          [EMAIL PROTECTED]      617-563-0516 
Fidelity Investments   82 Devonshire St. V8D     Boston MA 02109
There is nothing so practical as a good theory.  Comments are by me, 
not Fidelity Investments, its subsidiaries or affiliates.


> -----Original Message-----
> From: David Cantrell [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 27, 2002 10:37 AM
> To: Tolkin, Steve
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Boston.pm] Posix constructs in regex...
> 
> 
> On Fri, Apr 26, 2002 at 04:41:42PM -0400, Tolkin, Steve wrote:
> > I have always wanted a warning if a literal character 
> > occurs in a regex twice.  That would have caught this error.
> 
> I don't fancy warnings when I do:
>   /^foo:(.*):bar/
> 
> -- 
> David Cantrell | Benevolent Dictator | 
> http://www.cantrell.org.uk/david
> 
> WARNING! People in front of screen are stupider than they appear
>     -- Tanuki the Raccoon-dog, in the Monastery
> 

Reply via email to