in reply to Re^3: Making regex /g match continuously
in thread Making regex /g match continuously
If I can, a bit of an elaboration though; of the 3 approaches you suggested, which is most efficient when there is not a match? I notice that when my complicated regex's do not match that I max the CPU on my server and the HTTP aspect has to time out. If the regex matches, it takes mere fractions of a second.
Is there a way within these approaches that I can minimize the wasted effort of the regex in a case that not all 'int's will match?
Thanks again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Making regex /g match continuously
by Roy Johnson (Monsignor) on Jan 07, 2005 at 20:39 UTC | |
by tye (Sage) on Jan 08, 2005 at 07:59 UTC | |
by Roy Johnson (Monsignor) on Jan 10, 2005 at 18:37 UTC | |
by scottb (Scribe) on Jan 07, 2005 at 22:02 UTC | |
|
Re^5: Making regex /g match continuously
by Eimi Metamorphoumai (Deacon) on Jan 07, 2005 at 20:37 UTC |