regmatch(): fix typo in TRIE commentary text
authorDavid Mitchell <davem@iabyn.com>
Sun, 16 Sep 2012 16:39:06 +0000 (17:39 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 26 Sep 2012 08:41:10 +0000 (09:41 +0100)
regexec.c

index c3e632a..6ace8b6 100644 (file)
--- a/regexec.c
+++ b/regexec.c
@@ -3418,7 +3418,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
             *    ab|a|x|abcd|abc
             * when matched against the string "abcde", will generate
             * accept states for all words except 3, with the longest
-            * matching word being 4, and the shortest being 1 (with
+            * matching word being 4, and the shortest being 2 (with
             * the position being after char 1 of the string).
             *
             * Then for each matching word, in word order (i.e. 1,2,4,5),