diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-17 04:52:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-17 04:52:01 (GMT) |
commit | f6678bdedc2a7668eb984f7e375886da59a63888 (patch) | |
tree | e647199d7177f02e7b324820f7b10e00fe01f5e9 | |
parent | c3bb908ec5427846f355b333087a3e4c19e71d4e (diff) | |
download | tcl-f6678bdedc2a7668eb984f7e375886da59a63888.zip tcl-f6678bdedc2a7668eb984f7e375886da59a63888.tar.gz tcl-f6678bdedc2a7668eb984f7e375886da59a63888.tar.bz2 |
Fix [a876646efe]: re_expr character class [:cntrl:] should contain \u0000 - \u001f
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/regc_locale.c | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2013-06-17 Jan Nijtmans <nijtmans@users.sf.net> + + * generic/regc_locale.c: Bug [a876646efe]: re_expr character class + [:cntrl:] should contain \u0000 - \u001f + 2013-06-03 Miguel Sofer <msofer@users.sf.net> * generic/tclExecute.c: fix for perf bug detected by Kieran diff --git a/generic/regc_locale.c b/generic/regc_locale.c index 40791f4..dd1c01c 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 |