diff options
author | Yves Orton <demerphq@gmail.com> | 2007-06-29 00:05:57 +0000 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2007-06-29 00:05:57 +0000 |
commit | 995b21a2a5978b36d62d47f8ee8b5a433676c57c (patch) | |
tree | 24f0bfa4a3b7cfa5be52c49aac99aebb039d5289 /regexp.h | |
parent | f1b875a0a91038690cebe55acd7ad1e37e6a2621 (diff) | |
download | perl-995b21a2a5978b36d62d47f8ee8b5a433676c57c.tar.gz |
fix overzealous search and replace
p4raw-id: //depot/perl@31498
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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))) |