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.
In reply to Re^4: Making regex /g match continuously
by scottb
in thread Making regex /g match continuously
by scottb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |