|
|
| There's more than one way to do things | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
Run this
Compare with one or two pages from this infinite loop
You should notice that without g in m//g the pos-ition doesn't advance, you're always matching against 2, and its always true, and it never ends, cause 2 is always \d Regexp::Assemble hangs with a certain case A regex produced by Regexp::Assemble is not Regexp::Assemble , Regexp::Assemble is not hanging -- but you're not even using Regexp::Assemble to assemble a regex, so its got nothing to do with it In reply to Re: Regexp::Assemble hangs with a certain case
by Anonymous Monk
|
|