projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c0563b
)
regmatch(): fix typo in TRIE commentary text
author
David Mitchell
<davem@iabyn.com>
Sun, 16 Sep 2012 16:39:06 +0000
(17:39 +0100)
committer
David Mitchell
<davem@iabyn.com>
Wed, 26 Sep 2012 08:41:10 +0000
(09:41 +0100)
regexec.c
patch
|
blob
|
history
diff --git
a/regexec.c
b/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),