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=4137>.
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=4137

regexp match gets different results on different platforms





------- Additional Comments From [EMAIL PROTECTED]  2003-10-10 09:15 -------
I think the problem is that on Linux/Unix line.separator=="\n",
but on Windows it is "\r\n".  Thus on Linux we consider string which we match as to 
line text (and last line matches to regexp), but on Window this is one 
line text and this line diesn't match to regexp.

To correct test we should use
String input = System.getProperty("line.separator") + "window.location.href=";

So, I would say that the test is incorrect.

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

Reply via email to