diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-08-25 08:06:30 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-08-25 23:21:29 -0600 |
commit | ab20d70a9a23debea96660523e287da51405d7de (patch) | |
tree | eb3affdb272aab5512ed7a660cf2bb82ad5babea /regexec.c | |
parent | 872dd7e02968b0b8c2eb1b53c82bd05cff5080c9 (diff) | |
download | perl-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.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 |