in reply to Re: Problem with pre-compiled regex
in thread Problem with pre-compiled regex
Dear Monk
Thank you very much for your kind assistance and your tweak made it work perfectly but I have this confusion, the scripts that I posted with and without pre-compiled regex takes almost same time to execute but shouldn't the pre-compiled regex run faster because of pre-compilation...
P.S. I haven't used the @words and $text mentioned, I tried with a larger set of @words and a bigger $text instead of mere (have, regex) and a single sentence for $text as mentioned in the script
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem with pre-compiled regex
by moritz (Cardinal) on Jan 17, 2012 at 15:31 UTC | |
by ikegami (Patriarch) on Jan 18, 2012 at 07:03 UTC | |
|
Re^3: Problem with pre-compiled regex
by JavaFan (Canon) on Jan 17, 2012 at 16:45 UTC | |
|
Re^3: Problem with pre-compiled regex
by LanX (Saint) on Jan 17, 2012 at 15:14 UTC | |
by JavaFan (Canon) on Jan 17, 2012 at 16:34 UTC |