I have been stuck by this problem for a few days. I have a somehow complicated regular expression inside a child thread in a multi-threaded program.
When the text to be matched($string) is a little over 1 Megabytes, this regexpression runs forever and never return.
But when I run a single-threaded version of the same program, it works perfectly fine(The regex returns instantly). I am wondering whether there are some settings or limits imposed on the child thread of a multi-threaded program. Could anyone here enlight me on that?
I am running ActiveState Perl 5.10.0 on Windows Platform.
Thanks in advance.