diff options
Diffstat (limited to 'libgo/go/strconv/isprint.go')
-rw-r--r-- | libgo/go/strconv/isprint.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libgo/go/strconv/isprint.go b/libgo/go/strconv/isprint.go index 0cf363c..20a02de 100644 --- a/libgo/go/strconv/isprint.go +++ b/libgo/go/strconv/isprint.go @@ -635,3 +635,23 @@ var isNotPrint32 = []uint16{ // add 0x10000 to each entry 0xf57a, 0xf5a4, } + +// isGraphic lists the graphic runes not matched by IsPrint. +var isGraphic = []uint16{ + 0x00a0, + 0x1680, + 0x2000, + 0x2001, + 0x2002, + 0x2003, + 0x2004, + 0x2005, + 0x2006, + 0x2007, + 0x2008, + 0x2009, + 0x200a, + 0x202f, + 0x205f, + 0x3000, +} |