summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-08-25 08:06:30 -0600
committerKarl Williamson <public@khwilliamson.com>2012-08-25 23:21:29 -0600
commitab20d70a9a23debea96660523e287da51405d7de (patch)
treeeb3affdb272aab5512ed7a660cf2bb82ad5babea /regexec.c
parent872dd7e02968b0b8c2eb1b53c82bd05cff5080c9 (diff)
downloadperl-ab20d70a9a23debea96660523e287da51405d7de.tar.gz
regexec.c: Reword comment
This portion of the comment is unnecessary, and doesn't really reflect the implementation
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/regexec.c b/regexec.c
index 5da40f8736..469a7fc4b6 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3952,11 +3952,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog)
| (L* ( LVT | ( V | LV ) V*) T*)
The last two terms can be combined like this:
- L* ( L
- | (( LVT | ( V | LV ) V*) T*))
-
- And refactored into this:
- L* (L | LVT T* | V V* T* | LV V* T*)
+ L* ( L | (( LVT | ( V | LV ) V*) T*))
That means that if we have seen any L's at all we can quit
there, but if the next character is an LVT, a V, or an LV we