DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5791>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5791

RegExp Matcher always matches "" as positive!





------- Additional Comments From [EMAIL PROTECTED]  2002-01-10 12:49 -------
No, we still need to protect against the infinite loop.

The RegexpURIMatcher should through an exception when a
match for "" is detected.  Perhaps we should add this
to the code:

throw new InvalidMatchExpression("It is illegal to have an empty regular
expression, perhaps you want \"^$\"");

This will force the Sitemap not to load with such a problem,
but gives a meaningful exception with an alternative that is
probably what the user wants.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to