diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-17 04:54:35 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-17 04:54:35 (GMT) |
commit | b7289f092da5a2bd5277ad7ffc935d4bceded058 (patch) | |
tree | 536f3f50060f7a7f42776c21fc832149e74b0afb /generic | |
parent | 6eb0e8555d4b6edede60265de523a6d223aaae46 (diff) | |
parent | ded13430f9692f9c564c181b1e49f08757451da7 (diff) | |
download | tcl-b7289f092da5a2bd5277ad7ffc935d4bceded058.zip tcl-b7289f092da5a2bd5277ad7ffc935d4bceded058.tar.gz tcl-b7289f092da5a2bd5277ad7ffc935d4bceded058.tar.bz2 |
Fix [a876646efe]: re_expr character class [:cntrl:] should contain \u0000 - \u001f
Diffstat (limited to 'generic')
-rw-r--r-- | generic/regc_locale.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/regc_locale.c b/generic/regc_locale.c index f3db471..e79dff8 100644 --- a/generic/regc_locale.c +++ b/generic/regc_locale.c @@ -259,8 +259,9 @@ static const chr alphaCharTable[] = { */ static const crange controlRangeTable[] = { - {0x7f, 0x9f}, {0x600, 0x604}, {0x200b, 0x200f}, {0x202a, 0x202e}, - {0x2060, 0x2064}, {0x206a, 0x206f}, {0xe000, 0xf8ff}, {0xfff9, 0xfffb} + {0x0, 0x1f}, {0x7f, 0x9f}, {0x600, 0x604}, {0x200b, 0x200f}, + {0x202a, 0x202e}, {0x2060, 0x2064}, {0x206a, 0x206f}, {0xe000, 0xf8ff}, + {0xfff9, 0xfffb} #if TCL_UTF_MAX > 4 ,{0x1d173, 0x1d17a}, {0xe0020, 0xe007f}, {0xf0000, 0xffffd}, {0x100000, 0x10fffd} #endif |