summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-10-27 10:31:02 -0600
committerKarl Williamson <public@khwilliamson.com>2011-10-27 10:51:26 -0600
commit9ca75586d6d424bf8518f247fc8a1ebeb6e38b51 (patch)
tree5465016d8285c2252f149ea8c6ed60940a45ccfd /regcomp.c
parentc382b335bf126c689844d41284086e1d504caa1b (diff)
downloadperl-9ca75586d6d424bf8518f247fc8a1ebeb6e38b51.tar.gz
regcomp.c: Don't prefix posix props with Is
When confronted with something like [[:alpha:]], regcomp.c adds IsPosixAlpha to the list of properties for code points above 255 to match against when executing the pattern. The 'Is' is extraneous, and future commits will not want it.
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 01334f9f57..0202be8e74 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -10307,7 +10307,7 @@ parseit:
}
if (what && ! (AT_LEAST_ASCII_RESTRICTED)) {
/* Strings such as "+utf8::isWord\n" */
- Perl_sv_catpvf(aTHX_ listsv, "%cutf8::Is%s\n", yesno, what);
+ Perl_sv_catpvf(aTHX_ listsv, "%cutf8::%s\n", yesno, what);
}
continue;