summaryrefslogtreecommitdiff
path: root/src/pkg/unicode/digittables.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/unicode/digittables.go')
-rw-r--r--src/pkg/unicode/digittables.go43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/pkg/unicode/digittables.go b/src/pkg/unicode/digittables.go
new file mode 100644
index 000000000..f0b11a5b6
--- /dev/null
+++ b/src/pkg/unicode/digittables.go
@@ -0,0 +1,43 @@
+// Generated by running
+// tables --digits=true --url=http://www.unicode.org/Public/5.1.0/ucd/UnicodeData.txt
+// DO NOT EDIT
+
+package unicode
+
+// DecimalDigit is the set of Unicode characters with the "decimal digit" property.
+var DecimalDigit = decimalDigit
+var decimalDigit = []Range {
+ Range{0x0030, 0x0039, 1},
+ Range{0x0660, 0x0669, 1},
+ Range{0x06f0, 0x06f9, 1},
+ Range{0x07c0, 0x07c9, 1},
+ Range{0x0966, 0x096f, 1},
+ Range{0x09e6, 0x09ef, 1},
+ Range{0x0a66, 0x0a6f, 1},
+ Range{0x0ae6, 0x0aef, 1},
+ Range{0x0b66, 0x0b6f, 1},
+ Range{0x0be6, 0x0bef, 1},
+ Range{0x0c66, 0x0c6f, 1},
+ Range{0x0ce6, 0x0cef, 1},
+ Range{0x0d66, 0x0d6f, 1},
+ Range{0x0e50, 0x0e59, 1},
+ Range{0x0ed0, 0x0ed9, 1},
+ Range{0x0f20, 0x0f29, 1},
+ Range{0x1040, 0x1049, 1},
+ Range{0x1090, 0x1099, 1},
+ Range{0x17e0, 0x17e9, 1},
+ Range{0x1810, 0x1819, 1},
+ Range{0x1946, 0x194f, 1},
+ Range{0x19d0, 0x19d9, 1},
+ Range{0x1b50, 0x1b59, 1},
+ Range{0x1bb0, 0x1bb9, 1},
+ Range{0x1c40, 0x1c49, 1},
+ Range{0x1c50, 0x1c59, 1},
+ Range{0xa620, 0xa629, 1},
+ Range{0xa8d0, 0xa8d9, 1},
+ Range{0xa900, 0xa909, 1},
+ Range{0xaa50, 0xaa59, 1},
+ Range{0xff10, 0xff19, 1},
+ Range{0x104a0, 0x104a9, 1},
+ Range{0x1d7ce, 0x1d7ff, 1},
+}