Subject: | Failure to match overlapping substrings |
Consider this short program:
###
my $m = Text::Match::FastAlternatives->new('abc', 'b');
assert ($words->match('dba') == $m->match('aba'));
exit;
###
The assert fails when $words->match('aba') wrongly returns false. This is because 'ab' is not an accepting state, however it should be as its failure state 'a' is accepting.