From: Ito Kazumitsu <[EMAIL PROTECTED]>
Date: Sat, 18 Feb 2006 01:21:58 +0900 (JST)

> 2006-02-18  Ito Kazumitsu  <[EMAIL PROTECTED]>
> 
>       * 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.

I have not checked this in because I am trying to rewrite these
classes thoroughly so that a depth-first search with backtracking
is performed.  But this work has not been succesful yet and there
is much to do. So I will check in the Feb 18 patch as a transitional
stage.


Reply via email to