summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-05 17:15:30 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-05 17:15:30 +0000
commit8f6ae13c8af6db5c57cde14346d77d89a10817d3 (patch)
tree07bc1e8a370597d168d8d4aa82f3569b6dbce71b /regexp.h
parentb9ad30b40cf004f5ea6fd7a945a950cf873aed7b (diff)
downloadperl-8f6ae13c8af6db5c57cde14346d77d89a10817d3.tar.gz
Abolish RXf_UTF8. Store the UTF-8-ness of the pattern with SvUTF8().
p4raw-id: //depot/perl@32852
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/regexp.h b/regexp.h
index 79bcacd1de..8b5a7bb337 100644
--- a/regexp.h
+++ b/regexp.h
@@ -302,7 +302,6 @@ and check for NULL.
#define RXf_CHECK_ALL 0x00040000
/* UTF8 related */
-#define RXf_UTF8 0x00080000
#define RXf_MATCH_UTF8 0x00100000
/* Intuit related */
@@ -412,7 +411,7 @@ and check for NULL.
: (RX_MATCH_UTF8_off(prog), (PL_reg_match_utf8 = 0)))
/* Whether the pattern stored at RX_WRAPPED is in UTF-8 */
-#define RX_UTF8(prog) (RX_EXTFLAGS(prog) & RXf_UTF8)
+#define RX_UTF8(prog) SvUTF8(prog)
#define REXEC_COPY_STR 0x01 /* Need to copy the string. */
#define REXEC_CHECKED 0x02 /* check_substr already checked. */