diff options
Diffstat (limited to 'src/RESearch.cxx')
-rw-r--r-- | src/RESearch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RESearch.cxx b/src/RESearch.cxx index 1958773cb..74db01355 100644 --- a/src/RESearch.cxx +++ b/src/RESearch.cxx @@ -784,7 +784,7 @@ int RESearch::Execute(CharacterIndexer &ci, int lp, int endp) { c = *(ap+1); while ((lp < endp) && (static_cast<unsigned char>(ci.CharAt(lp)) != c)) lp++; - if (lp >= endp) /* if EOS, fail, else fall thru. */ + if (lp >= endp) /* if EOS, fail, else fall through. */ return 0; default: /* regular matching all the way. */ while (lp < endp) { @@ -814,7 +814,7 @@ int RESearch::Execute(CharacterIndexer &ci, int lp, int endp) { * * special case optimizations: (nfa[n], nfa[n+1]) * CLO ANY - * We KNOW .* will match everything upto the + * We KNOW .* will match everything up to the * end of line. Thus, directly go to the end of * line, without recursive PMatch calls. As in * the other closure cases, the remaining pattern |