Change "brace" back to "nestable punctuation"
This commit is contained in:
parent
db4bb6788d
commit
deda159536
|
@ -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
|
or more alphabetic characters), a quoting character, and then all the text
|
||||||
up to and including its matching character.
|
up to and including its matching character.
|
||||||
|
|
||||||
If an openning brace (`(`, `[`, `{`, or `<`) is used as the openning quoting
|
If a nestable punctuation character (`(`, `[`, `{`, or `<`) is used as the
|
||||||
character, the expansion will end at the character's matching brace (`)`, `]`,
|
opening quoting character, the expansion will end at its matching opposite
|
||||||
`}`, or `>`). Nested pairs of the braces used in the expansion are allowed, but
|
(`)`, `]`, `}`, or `>`). Nested pairs of the braces used in the expansion are
|
||||||
they must be balanced. Braces other than the ones used in the expansion need
|
allowed, but they must be balanced. Braces other than the ones used in the
|
||||||
not be balanced, however. For example, `%{nest{ed} non[nested}` is valid and
|
expansion need not be balanced, however. For example, `%{nest{ed} non[nested}`
|
||||||
expands to `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
|
If any other character is used, the expansion will end at the next occurrence of
|
||||||
that character. The quoting character can be escpaed inside the expansion if it
|
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`.
|
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.
|
It doesn't matter which character is used, but `{}` are most common.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user