I can't give you a technical answer to this, but I can tell you that I have been running this code for many weeks now. It runs once a day at the same time. When I run the program manually, it makes each match fairly quickly (a few seconds, at most).
One thing, though. The code has been running fine for weeks, but whoever runs the website made some minor changes to the HTML. This forced me to have to go back and make a couple of (extremely) minor changes to the matching code. That said, I would note that the code does match, and match quickly, for probably 90% of the pages that I am pulling. It only hangs on a couple. The problem appears page-specific because when I change the order in which I pull the pages, it hangs on the same pages (regardless of where they are in my list of pages).
In reply to Re^2: Regex infinite loop?
by Ninth Prince
in thread Regex infinite loop?
by Ninth Prince
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |