vgritsenko 2004/02/26 18:41:20 Modified: docs changes.html src/java/org/apache/regexp RE.java RETest.java xdocs changes.xml Log: Closing bug #25985 Revision Changes Path 1.22 +3 -0 jakarta-regexp/docs/changes.html Index: changes.html =================================================================== RCS file: /home/cvs/jakarta-regexp/docs/changes.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- changes.html 27 Feb 2004 02:18:01 -0000 1.21 +++ changes.html 27 Feb 2004 02:41:20 -0000 1.22 @@ -88,6 +88,9 @@ <h3>Version 1.4-dev</h3> <ul> <li>Fixed Bug + <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25985">25985</a>: + In MATCH_MULTILINE mode $ does not match end of line (VG)</li> +<li>Fixed Bug <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2121">2121</a>: '.' or '-' in bracket expression gives unexpected results (VG)</li> <li>Regexp is relicensed to <a href="http://www.apache.org/licenses/LICENSE-2.0"> 1.21 +2 -2 jakarta-regexp/src/java/org/apache/regexp/RE.java Index: RE.java =================================================================== RCS file: /home/cvs/jakarta-regexp/src/java/org/apache/regexp/RE.java,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- RE.java 27 Feb 2004 02:18:01 -0000 1.20 +++ RE.java 27 Feb 2004 02:41:20 -0000 1.21 @@ -1694,7 +1694,7 @@ } // Append everything after the last $ sign - ret.append(substitution.substring(lLastPosition+2,lLength)); + ret.append(substitution.substring(lLastPosition + 2, lLength)); } else { 1.13 +2 -2 jakarta-regexp/src/java/org/apache/regexp/RETest.java Index: RETest.java =================================================================== RCS file: /home/cvs/jakarta-regexp/src/java/org/apache/regexp/RETest.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- RETest.java 17 Feb 2004 13:37:54 -0000 1.12 +++ RETest.java 27 Feb 2004 02:41:20 -0000 1.13 @@ -379,7 +379,7 @@ fail("\"\\u2029abc\" doesn't match \"^abc$\""); } - // Test MATCH_MULTILINE. Test that '.' does not mathces new line. + // Test MATCH_MULTILINE. Test that '.' does not matches new line. r = new RE("^a.*b$", RE.MATCH_MULTILINE); if (r.match("a\nb")) { fail("\"a\\nb\" matches \"^a.*b$\""); 1.22 +4 -1 jakarta-regexp/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/jakarta-regexp/xdocs/changes.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- changes.xml 27 Feb 2004 02:18:01 -0000 1.21 +++ changes.xml 27 Feb 2004 02:41:20 -0000 1.22 @@ -36,6 +36,9 @@ <h3>Version 1.4-dev</h3> <ul> <li>Fixed Bug + <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25985">25985</a>: + In MATCH_MULTILINE mode $ does not match end of line (VG)</li> +<li>Fixed Bug <a href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2121">2121</a>: '.' or '-' in bracket expression gives unexpected results (VG)</li> <li>Regexp is relicensed to <a href="http://www.apache.org/licenses/LICENSE-2.0">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]