[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/26166] Matcher.find mis-behaviour
From: |
tromey at gcc dot gnu dot org |
Subject: |
[Bug classpath/26166] Matcher.find mis-behaviour |
Date: |
13 Feb 2006 22:58:40 -0000 |
------- Comment #8 from tromey at gcc dot gnu dot org 2006-02-13 22:58 -------
Subject: Bug 26166
Author: tromey
Date: Mon Feb 13 22:58:37 2006
New Revision: 110937
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110937
Log:
2006-02-13 Ito Kazumitsu <address@hidden>
Fixes bug #26166
* gnu/regexp/RE.java(initialize): Parsing of character class expression
was moved to a new method parseCharClass.
(parseCharClass): New method originally in initialize. Added parsing
of nested character classes.
(ParseCharClassResult): New inner class used as a return value of
parseCharClass.
(getCharExpression),(getNamedProperty): Made static.
* gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
* gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
nested character classes.
(RETokenOneOf): New constructor accepting the Vector addition.
(getMinimumLength), (getMaximumLength): Returns 1 if the token
stands for only one character.
(match): Added the processing of the Vector addition.
(matchN), (matchP): Do not check next token if addition is used.
Modified:
branches/gcc-4_1-branch/libjava/classpath/ChangeLog.gcj
branches/gcc-4_1-branch/libjava/classpath/gnu/regexp/RE.java
branches/gcc-4_1-branch/libjava/classpath/gnu/regexp/RESyntax.java
branches/gcc-4_1-branch/libjava/classpath/gnu/regexp/RETokenOneOf.java
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26166
- [Bug classpath/26166] New: Matcher.find mis-behaviour, overholt at redhat dot com, 2006/02/07
- [Bug classpath/26166] Matcher.find mis-behaviour, overholt at redhat dot com, 2006/02/07
- [Bug classpath/26166] Matcher.find mis-behaviour, mark at gcc dot gnu dot org, 2006/02/07
- [Bug classpath/26166] Matcher.find mis-behaviour, mark at gcc dot gnu dot org, 2006/02/07
- [Bug classpath/26166] Matcher.find mis-behaviour, kaz at maczuka dot gcd dot org, 2006/02/07
- [Bug classpath/26166] Matcher.find mis-behaviour, kaz at maczuka dot gcd dot org, 2006/02/08
- [Bug classpath/26166] Matcher.find mis-behaviour, cvs-commit at developer dot classpath dot org, 2006/02/13
- [Bug classpath/26166] Matcher.find mis-behaviour, kaz at maczuka dot gcd dot org, 2006/02/13
- [Bug classpath/26166] Matcher.find mis-behaviour, mark at gcc dot gnu dot org, 2006/02/13
- [Bug classpath/26166] Matcher.find mis-behaviour,
tromey at gcc dot gnu dot org <=