Re: [Assp-test] Antwort: Bombre not matching in v2

2011-04-19 Thread Michelle Dupuis
Ok I'll stick to the assp regex analyzer. Thanks for expression below! From: Thomas Eckardt [thomas.ecka...@thockar.com] Sent: Tuesday, April 19, 2011 1:46 AM To: ASSP development mailing list Subject: [Assp-test] Antwort: Bombre not matching in v2 This

[Assp-test] Regex causes 100% CPU?

2011-04-19 Thread Michelle Dupuis
I had a discussion going yesterday about the right regex to catch a certain URL. Here's the expression http\:\/\/[A-Za-z\.\/]+?\.(?:ru|ly|nl|ec|cc)(?:\s|\/|\n|\r) This works fine. Now I wanted to change the expression to catch a slash (/) as well as a backslash, so I changed the expression

Re: [Assp-test] Regex causes 100% CPU?

2011-04-19 Thread Peter W Bowey
That might suggest that the new regex is too greedy. Some regex's are a hazard for Perl. Peter - Original Message - From: Michelle Dupuis mdup...@ocg.ca To: assp-test@lists.sourceforge.net Sent: Wednesday, April 20, 2011 7:02 AM Subject: [Assp-test] Regex causes 100% CPU? I had a