summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-02-19 11:48:58 -0700
committerKarl Williamson <public@khwilliamson.com>2011-02-19 12:08:20 -0700
commitee4100264c6676c0eb49aa948c2778c1c6db51cc (patch)
tree443f1024e8b0b03ddd618850010e7a8aeb80d767 /regcomp.c
parent17580e7a366d68c68fa37fe63c284c1d83b245fe (diff)
downloadperl-ee4100264c6676c0eb49aa948c2778c1c6db51cc.tar.gz
Revert "regcomp: Add warning if tries to use \p in locale."
This reverts commit fb2e24cdda774d9e9c28f1cd0356bba9070894c7. This turned out to be contentious, and is past the date for contentious changes.
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/regcomp.c b/regcomp.c
index 6f7de6c17c..745977a549 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -9439,14 +9439,7 @@ parseit:
e = RExC_parse;
n = 1;
}
- if (SIZE_ONLY) {
- if (LOC) {
- ckWARN2reg(RExC_parse,
- "\\%c uses Unicode rules, not locale rules",
- (int) value);
- }
- }
- else {
+ if (!SIZE_ONLY) {
if (UCHARAT(RExC_parse) == '^') {
RExC_parse++;
n--;