Sorry for the delayed reply. It looks like there is a bug in
SearchDFA: it is saying there is a match but did not fill in the
vector with the indexes of the matches. It looks to me like this can
happen if SearchDFA finds itself in "FullMatchState", meaning that it
believes that no matter what text remains, there will be a match at
the end of the string. Fixing this is a little involved, because
that's not a real state, so you can't just fix a few conditionals to
fall through. However, I think you'd only run into this if you created
the Set with anchor=UNANCHORED and then also gave it a regexp that
matched the empty string as one of the members in the set. Is that
true? If not, can you whittle down the test case to a simple main
program I can run?
Thanks.
Russ