From d943eed9db668bb3399264d5c978e20882bc6098 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 29 Dec 2014 22:07:11 -0800 Subject: spec: Define ascii punctuation character separately. That's because some ascii punctuation characters (like `<`) are not in a "P" character class (they are mathematical symbols). They need to be escapable so we'll treat them as "punctuation" here. --- spec.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index cf75833..bec510d 100644 --- a/spec.txt +++ b/spec.txt @@ -241,15 +241,15 @@ or more [unicode whitespace characters](#unicode-whitespace-character). A [non-space character](@non-space-character) is anything but `U+0020`. -A [punctuation character](@punctuation-character) is anything in -the unicode classes `Pc`, `Pd`, `Pe`,` `Pf`, `Pi`, `Po`, or `Ps`. - An [ASCII punctuation character](@ascii-punctuation-character) -is a [punctuation character](#punctuation-character) in the -ASCII class: that is, `!`, `"`, `#`, `$`, `%`, `&`, `'`, `(`, `)`, +is `!`, `"`, `#`, `$`, `%`, `&`, `'`, `(`, `)`, `*`, `+`, `,`, `-`, `.`, `/`, `:`, `;`, `<`, `=`, `>`, `?`, `@`, `[`, `\`, `]`, `^`, `_`, `` ` ``, `{`, `|`, `}`, or `~`. +A [punctuation character](@punctuation-character) is an [ASCII +punctuation character](#ascii-punctuation-character) or anything in +the unicode classes `Pc`, `Pd`, `Pe`, `Pf`, `Pi`, `Po`, or `Ps`. + ## Tab expansion Tabs in lines are expanded to spaces, with a tab stop of 4 characters: -- cgit v1.2.3