summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlePerdu <zdpeltzer@gmail.com>2019-01-30 21:02:19 -0500
committerlePerdu <zdpeltzer@gmail.com>2019-01-30 21:12:48 -0500
commitdeda1595366e87c25362ea2da33eb7bdefa42c18 (patch)
treebb6ab4297f8f8de0390813b6ced25cad9b1fffa2
parentdb4bb6788d1aaea5d5a08f890e59b2bd3892f9ae (diff)
Change "brace" back to "nestable punctuation"
-rw-r--r--doc/pages/expansions.asciidoc18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/pages/expansions.asciidoc b/doc/pages/expansions.asciidoc
index 833e8de8..b1a22931 100644
--- a/doc/pages/expansions.asciidoc
+++ b/doc/pages/expansions.asciidoc
@@ -9,15 +9,15 @@ Every expansion consists of a `%`, followed by the expansion _type_ (one
or more alphabetic characters), a quoting character, and then all the text
up to and including its matching character.
-If an openning brace (`(`, `[`, `{`, or `<`) is used as the openning quoting
-character, the expansion will end at the character's matching brace (`)`, `]`,
-`}`, or `>`). Nested pairs of the braces used in the expansion are allowed, but
-they must be balanced. Braces other than the ones used in the expansion need
-not be balanced, however. For example, `%{nest{ed} non[nested}` is valid and
-expands to `nest{ed} non[nested`.
-
-If any other character is used, the expansion will end at the next occurance of
-that character. The quoting character can be escpaed inside the expansion if it
+If a nestable punctuation character (`(`, `[`, `{`, or `<`) is used as the
+opening quoting character, the expansion will end at its matching opposite
+(`)`, `]`, `}`, or `>`). Nested pairs of the braces used in the expansion are
+allowed, but they must be balanced. Braces other than the ones used in the
+expansion need not be balanced, however. For example, `%{nest{ed} non[nested}`
+is valid and expands to `nest{ed} non[nested`.
+
+If any other character is used, the expansion will end at the next occurrence of
+that character. The quoting character can be escaped inside the expansion if it
is doubled-up. For example, `%|abc||def|` expands to the text `abc|def`.
It doesn't matter which character is used, but `{}` are most common.