From ab20d70a9a23debea96660523e287da51405d7de Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 25 Aug 2012 08:06:30 -0600 Subject: regexec.c: Reword comment This portion of the comment is unnecessary, and doesn't really reflect the implementation --- regexec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'regexec.c') 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 -- cgit v1.2.1