projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2259428
)
regexp.h: The length of 'aa' is 2
author
Karl Williamson
<public@khwilliamson.com>
Sun, 20 Feb 2011 03:52:48 +0000
(20:52 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Sun, 20 Feb 2011 04:44:48 +0000
(21:44 -0700)
regexp.h
patch
|
blob
|
history
diff --git
a/regexp.h
b/regexp.h
index
66473dd
..
92c9cce
100644
(file)
--- a/
regexp.h
+++ b/
regexp.h
@@
-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 */