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] 2004-01-30 14:28 ------- Oleg, I'd added following testcase: r = new RE("^a.*b$", RE.MATCH_MULTILINE); if (!r.match("a\nb")) { fail("\"a\\nb\" doesn't match"); } if (!r.match("a\rb")) { fail("\"a\\rb\" doesn't match"); } if (!r.match("a\r\nb")) { fail("\"a\\r\\nb\" doesn't match"); } if (!r.match("a\u0085b")) { fail("\"a\\u0085b\" doesn't match"); } if (!r.match("a\u2028b")) { fail("\"a\\u2028b\" doesn't match"); } if (!r.match("a\u2029b")) { fail("\"a\\u2029b\" doesn't match"); } And two of them fail: [java] "a\nb" doesn't match [java] "a\r\nb" doesn't match Do you have a suggestion what's wrong here? Hendrik, With your patch and test above, several tests fail. Vadim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]