Please elaborate on what you mean by "Perl get stuck". Slows to a crawl? Hangs? Crashes in flames?
And can you characterize what's special about "some strings"?
It might help to post some code. Show us the table of strings you're constructing the regex from, and give us an example string that it gets stuck on.
Without some hard data to work from, we can only speculate and make educated guesses.
In reply to Re: regex is too long
by dws
in thread regex is too long
by jhanna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |