diff options
| author | Ito Kazumitsu <kaz@maczuka.gcd.org> | 2006-02-25 01:30:27 +0000 |
|---|---|---|
| committer | Ito Kazumitsu <kaz@maczuka.gcd.org> | 2006-02-25 01:30:27 +0000 |
| commit | 3ef6532f9b2e875cfec2f09a141a2f1cbba1651c (patch) | |
| tree | 572a4e2c3ee91ad1b9f977920616572b7a3be4cf /gnu/xml/stream/CRLFReader.java | |
| parent | d89de5a13249a249820556beff3ed2125d366b73 (diff) | |
| download | classpath-3ef6532f9b2e875cfec2f09a141a2f1cbba1651c.tar.gz | |
2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/REMatch.java(matchFlags): New int field used as
option flags passed to match methods.
(MF_FIND_ALL): New flag.
* gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
do not try other possibilties once a match is found.
* gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
so that all possibilities can be found.
(match): Rewritten using new methods matchMinimum and _match.
(_match): New method which performs a depth-first recursive search.
(matchMinimum): New method.
(initVisited), (visitedContains), (addVisited): New methods for
manipulating an array of icharacter positions which _match has
already visited.
Diffstat (limited to 'gnu/xml/stream/CRLFReader.java')
0 files changed, 0 insertions, 0 deletions
