summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-16 11:50:34 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-16 12:11:06 -0700
commitbff53399755564f2324c7d6362d84595da6d8db3 (patch)
treef64c4ef75223bdb63144d280e8a33696a89bf9e9 /regexec.c
parent632c9f80dfaf91e6a695c9a916ab6136110e4ac7 (diff)
downloadperl-bff53399755564f2324c7d6362d84595da6d8db3.tar.gz
Rename property involved in \X matching, for clarity
I was re-reading some code and got confused. This table matches just the first character of a sequence that may or may not contain others.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index c4b949b3ad..9409013591 100644
--- a/regexec.c
+++ b/regexec.c
@@ -4536,7 +4536,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
&& (locinput >= PL_regeol
|| (! swash_fetch(PL_utf8_X_regular_begin,
(U8*)locinput, utf8_target)
- && ! is_GCB_SPECIAL_BEGIN_utf8(locinput)))
+ && ! is_GCB_SPECIAL_BEGIN_START_utf8(locinput)))
)
{
locinput = previous_prepend;
@@ -4551,7 +4551,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
(U8*)locinput, utf8_target)) {
locinput += UTF8SKIP(locinput);
}
- else if (! is_GCB_SPECIAL_BEGIN_utf8(locinput)) {
+ else if (! is_GCB_SPECIAL_BEGIN_START_utf8(locinput)) {
/* Here did not match the required 'Begin' in the
* second term. So just match the very first