CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Ito Kazumitsu <[EMAIL PROTECTED]> 06/03/18 00:43:11
Modified files: . : ChangeLog gnu/regexp : REMatch.java RETokenBackRef.java RETokenLookAhead.java RETokenLookBehind.java Log message: 2006-03-18 Ito Kazumitsu <[EMAIL PROTECTED]> * gnu/regexp/REMatch.java(matchedCharIndexed): New field, (start, end): Added comment about the negative values of them, (finish): Saves the input text in matchedCharIndexed, (toString): If the start or end index is out of bounds of the matched text, get the substring from matchedCharIndexed. Added special handlings in case start/end index < -1, (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex): Added special handlings in case start/end index < -1, * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly found match, but keep the index as the original match. * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly found match, but keep the index as the original match. * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings in case start/end index < -1. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6792&tr2=1.6793&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/regexp/REMatch.java.diff?tr1=1.9&tr2=1.10&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/regexp/RETokenBackRef.java.diff?tr1=1.5&tr2=1.6&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/regexp/RETokenLookAhead.java.diff?tr1=1.4&tr2=1.5&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/regexp/RETokenLookBehind.java.diff?tr1=1.2&tr2=1.3&r1=text&r2=text