diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-01-17 08:58:53 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-01-17 09:20:20 -0700 |
commit | cfaf538b6276c6a8ef80ff6c66e106c6a4f1caaa (patch) | |
tree | b452229efc219b8936089921181cd3bedb77718a /op_reg_common.h | |
parent | 0c6e81ebcf01f01349b1260a05c55b61266c80d4 (diff) | |
download | perl-cfaf538b6276c6a8ef80ff6c66e106c6a4f1caaa.tar.gz |
Add /a regex modifier
This restricts certain constructs, like \w, to matching in the ASCII range
only.
Diffstat (limited to 'op_reg_common.h')
-rw-r--r-- | op_reg_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/op_reg_common.h b/op_reg_common.h index c8a35184a6..7d78005410 100644 --- a/op_reg_common.h +++ b/op_reg_common.h @@ -40,7 +40,8 @@ typedef enum { REGEX_DEPENDS_CHARSET = 0, REGEX_LOCALE_CHARSET, - REGEX_UNICODE_CHARSET + REGEX_UNICODE_CHARSET, + REGEX_ASCII_RESTRICTED_CHARSET } regex_charset; #define _RXf_PMf_CHARSET_SHIFT ((RXf_PMf_STD_PMMOD_SHIFT)+5) |