in reply to Re: Regex infinite loop?
in thread Regex infinite loop?
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex infinite loop?
by CountZero (Bishop) on Oct 16, 2008 at 20:57 UTC | |
by Ninth Prince (Acolyte) on Oct 17, 2008 at 00:39 UTC | |
by gone2015 (Deacon) on Oct 17, 2008 at 12:37 UTC | |
by Ninth Prince (Acolyte) on Oct 17, 2008 at 14:32 UTC | |
by JavaFan (Canon) on Oct 17, 2008 at 13:48 UTC | |
by Ninth Prince (Acolyte) on Oct 17, 2008 at 14:35 UTC | |
by JavaFan (Canon) on Oct 17, 2008 at 14:49 UTC | |
by Ninth Prince (Acolyte) on Oct 17, 2008 at 16:03 UTC | |
by Anonymous Monk on Oct 18, 2008 at 00:02 UTC | |
by Ninth Prince (Acolyte) on Oct 17, 2008 at 15:46 UTC | |
by JavaFan (Canon) on Oct 17, 2008 at 15:58 UTC | |
| |
by wfsp (Abbot) on Oct 17, 2008 at 14:44 UTC | |
by Ninth Prince (Acolyte) on Oct 17, 2008 at 15:03 UTC | |
by CountZero (Bishop) on Oct 18, 2008 at 21:21 UTC |