[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/26112] string.replaceAll("\\")
From: |
cvs-commit at developer dot classpath dot org |
Subject: |
[Bug classpath/26112] string.replaceAll("\\") |
Date: |
9 Feb 2006 17:49:34 -0000 |
------- Comment #3 from cvs-commit at developer dot classpath dot org
2006-02-09 17:49 -------
Subject: Bug 26112
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Ito Kazumitsu <address@hidden> 06/02/09 13:44:59
Modified files:
. : ChangeLog
gnu/regexp : RE.java REMatch.java
java/util/regex: Matcher.java
Log message:
2006-02-09 Ito Kazumitsu <address@hidden>
Fixes bug #26112
* gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
flag which enables backslash escape in a replacement.
(getReplacement): New public static method.
(substituteImpl),(substituteAllImpl): Use getReplacement.
* gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
* java/util/regex/Matcher.java(appendReplacement)
Use RE#getReplacement.
(replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6313&tr2=1.6314&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/regexp/RE.java.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/regexp/REMatch.java.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/util/regex/Matcher.java.diff?tr1=1.12&tr2=1.13&r1=text&r2=text
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26112