summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
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 50f9e6bb6e..f6368d9d03 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -15657,7 +15657,7 @@ S_parse_uniprop_string(pTHX_
if (table_index > MAX_UNI_KEYWORD_INDEX) {
Size_t warning_offset = table_index / MAX_UNI_KEYWORD_INDEX;
table_index %= MAX_UNI_KEYWORD_INDEX;
- Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED),
+ Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED__UNICODE_PROPERTY_NAME),
"Use of '%.*s' in \\p{} or \\P{} is deprecated because: %s",
(int) name_len, name,
get_deprecated_property_msg(warning_offset));