gnu-regexp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Regexp] Performance problem


From: Matthew, Manuel
Subject: RE: [Regexp] Performance problem
Date: Mon, 18 Mar 2002 09:38:59 -0500

I did try this regex and with a 30 character string, it did not take me too
long...it wasn't instantaneous but noe forever either.....Can you post a
little more of the the rogue code....

Manuel Mathew
Investment Systems,
Technology Department
Lord Abbett
Tel:    201-395-2191
Fax:    201-395-3191
E-mail: address@hidden

> -----Original Message-----
> From: J Juan [SMTP:address@hidden
> Sent: Monday, March 18, 2002 9:00 AM
> To:   address@hidden
> Subject:      [Regexp] Performance problem
> 
> Hi:
> 
> I have not resolved following performance problem, I am posting this 
> again to see if anyone may have solutions. Or if anyone can point me to 
> the area in the source code that I can take a look at. Thanks.
> 
> Jay
> ============
> I am using following pattern to match a string that is 3-63 characters 
> long:
> "^[A-Za-z0-9][A-Za-z0-9-]{1,61}[A-Za-z0-9]$"
> 
> If the test string is more than 18 characters long, the execution seems 
> to run forever. It seems that the repetition
> operator {1,61} is the problem. Is there any way to improve the 
> performance? Thanks.
> 
> 
> 
> _______________________________________________
> Gnu-regexp-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnu-regexp-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]