Message150770
This regular expression takes a few seconds to be evaluated
against any text:
(.*?)((?:X|\s+)*)$
This reg ex is much faster:
(.*?)((?:X|\s)*)$
To be fair, Ruby's performance with the first regex is the same as Python's. PHP and JavaScript both fail to match the first regex
at all. Only Perl evaluates both regexes nearly instantly. |
|
Date |
User |
Action |
Args |
2012-01-06 21:43:56 | ericp | set | recipients:
+ ericp |
2012-01-06 21:43:56 | ericp | set | messageid: <1325886236.37.0.0463179039095.issue13723@psf.upfronthosting.co.za> |
2012-01-06 21:43:55 | ericp | link | issue13723 messages |
2012-01-06 21:43:55 | ericp | create | |
|