summaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-29 22:07:11 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-29 22:07:11 -0800
commitd943eed9db668bb3399264d5c978e20882bc6098 (patch)
tree2c6167e98dc30a0a40e40ab1909a257a188c0d95 /spec.txt
parent18a1522edd5a81cee3d78978b81a8b3c93891a61 (diff)
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.
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt10
1 files changed, 5 insertions, 5 deletions
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: