in reply to Re^3: Is there a hard limit on + in a regex?
in thread Is there a hard limit on + in a regex?

Can you give a bit of working code (edit: I mean, code that give that error) that demonstrates the problem (using XML::Validator::Schema if you have to)?

That would be hard, and probably useless. I'm pretty well convinced that there are hard limits on the regex repetition operators which I can't avoid. Even if you can recompile Perl to make them bigger, that doesn't mean they'll ever go away. I guess I'll just document the limitation in XML::Validator::Schema and leave it at that.

The only thing I can't figure out is why my attempts to verify that those limits exist failed.

-sam

  • Comment on Re^4: Is there a hard limit on + in a regex?

Replies are listed 'Best First'.
Re^5: Is there a hard limit on + in a regex?
by diotalevi (Canon) on Jul 09, 2004 at 21:46 UTC
    Your attempts used too-simple constructs so they didn't have the limit.