http://qs321.pair.com?node_id=912034


in reply to Infinite regex loop...

What exactly are you trying to accomplish?

Your code is probably not doing what you want it to do, but there is no looping of any kind except for the file processing. Once that's done your code would finish.

How exactly are you trying to process the file? I could point out probable flaws in your current code, but it would be more effective if you explained your goal before we start trying to decipher your intent.