summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2007-06-29 00:05:57 +0000
committerYves Orton <demerphq@gmail.com>2007-06-29 00:05:57 +0000
commit995b21a2a5978b36d62d47f8ee8b5a433676c57c (patch)
tree24f0bfa4a3b7cfa5be52c49aac99aebb039d5289 /regexp.h
parentf1b875a0a91038690cebe55acd7ad1e37e6a2621 (diff)
downloadperl-995b21a2a5978b36d62d47f8ee8b5a433676c57c.tar.gz
fix overzealous search and replace
p4raw-id: //depot/perl@31498
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/regexp.h b/regexp.h
index a40bd1d2a6..bb3a64077c 100644
--- a/regexp.h
+++ b/regexp.h
@@ -301,7 +301,7 @@ and check for NULL.
/* UTF8 related */
#define RXf_UTF8 0x00400000
-#define RX_BUFF_IDX_FULLMATCH_UTF8 0x00800000
+#define RXf_MATCH_UTF8 0x00800000
/* Intuit related */
#define RXf_USE_INTUIT_NOML 0x01000000
@@ -359,9 +359,9 @@ and check for NULL.
}} STMT_END
#endif
-#define RX_MATCH_UTF8(prog) ((prog)->extflags & RX_BUFF_IDX_FULLMATCH_UTF8)
-#define RX_MATCH_UTF8_on(prog) ((prog)->extflags |= RX_BUFF_IDX_FULLMATCH_UTF8)
-#define RX_MATCH_UTF8_off(prog) ((prog)->extflags &= ~RX_BUFF_IDX_FULLMATCH_UTF8)
+#define RX_MATCH_UTF8(prog) ((prog)->extflags & RXf_MATCH_UTF8)
+#define RX_MATCH_UTF8_on(prog) ((prog)->extflags |= RXf_MATCH_UTF8)
+#define RX_MATCH_UTF8_off(prog) ((prog)->extflags &= ~RXf_MATCH_UTF8)
#define RX_MATCH_UTF8_set(prog, t) ((t) \
? (RX_MATCH_UTF8_on(prog), (PL_reg_match_utf8 = 1)) \
: (RX_MATCH_UTF8_off(prog), (PL_reg_match_utf8 = 0)))