Hi,
using regexp-1.2, trying to match with the pattern "^.{1,31}$", regepx will
go into recursion for a long time if trying to match on a string longer than
31 chars.
code snippet:
RE r = new RE("^.{1,31}$"); // Compile expression
r.match("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
I didn't expect this at all, so I got a little surprised when production
servers went hanging at 100% CPU because of this :) !
I noticed a couple of unanswered bug reports in bugzilla at
http://nagoya.apache.org/bugzilla/ for regepx and the the mailing lists
appears to have very low activity from the maintainers. Is this package
still maintained? Should I switch to ORO? I was perfectly happy with regepx
(thanks!), I'm now just wondering if it's being abandonned.
mathieu
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>