summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2012-09-16 17:39:06 +0100
committerDavid Mitchell <davem@iabyn.com>2012-09-26 09:41:10 +0100
commit895cc420d0398ff184560679b40f5f2c0af72366 (patch)
tree239909d2c633f9ae7b95b8453dd55a9c1001138d
parent3c0563b938225774f2298a18ae180520bc33a48c (diff)
downloadperl-895cc420d0398ff184560679b40f5f2c0af72366.tar.gz
regmatch(): fix typo in TRIE commentary text
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index c3e632a8bb..6ace8b60c9 100644
--- 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),