From 212bdd95e00c1b02ae4e797d1d38ac7dcb6d131a Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Tue, 5 Jan 2016 14:15:49 -0800 Subject: [PATCH] spec: New year, new spec update (to refer to Unicode 8.0). Slightly rephrased sentence to emphasize the contents of the Unicode categories w/o repeating the full category name each time. Fixes #13414. Change-Id: Icd32ff1547fa81e866c5937a631c3344bb6087c6 Reviewed-on: https://go-review.googlesource.com/18265 Reviewed-by: Rob Pike --- doc/go_spec.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index fe35aaccb4..6b6e75c7c9 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -101,15 +101,14 @@ The following terms are used to denote specific Unicode character classes: newline = /* the Unicode code point U+000A */ . unicode_char = /* an arbitrary Unicode code point except newline */ . unicode_letter = /* a Unicode code point classified as "Letter" */ . -unicode_digit = /* a Unicode code point classified as "Decimal Digit" */ . +unicode_digit = /* a Unicode code point classified as "Number, decimal digit" */ .

-In The Unicode Standard 6.3, -Section 4.5 "General Category" -defines a set of character categories. Go treats -those characters in category Lu, Ll, Lt, Lm, or Lo as Unicode letters, -and those in category Nd as Unicode digits. +In The Unicode Standard 8.0, +Section 4.5 "General Category" defines a set of character categories. +Go treats all characters in any of the Letter categories Lu, Ll, Lt, Lm, or Lo +as Unicode letters, and those in the Number category Nd as Unicode digits.

Letters and digits

-- 2.50.0