diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-02-19 20:52:48 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-02-19 21:44:48 -0700 |
commit | 07075d1946764ff3c2713c8e5a6c5d7e5a7514f2 (patch) | |
tree | 3a9d876d5816f1d17301bfa866a0cb386e00b91c | |
parent | 2259428871a6fb8a1e940f479ee57f0f1bb507d1 (diff) | |
download | perl-07075d1946764ff3c2713c8e5a6c5d7e5a7514f2.tar.gz |
regexp.h: The length of 'aa' is 2
-rw-r--r-- | regexp.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -319,7 +319,8 @@ get_regex_charset_name(const U32 flags, STRLEN* const lenp) case REGEX_UNICODE_CHARSET: return UNICODE_PAT_MODS; case REGEX_ASCII_RESTRICTED_CHARSET: return ASCII_RESTRICT_PAT_MODS; case REGEX_ASCII_MORE_RESTRICTED_CHARSET: - return ASCII_MORE_RESTRICT_PAT_MODS; + *lenp = 2; + return ASCII_MORE_RESTRICT_PAT_MODS; } return "?"; /* Unknown */ |