@@ -149,7 +149,7 @@ An empty string is a valid _simple message_.
149
149
150
150
``` abnf
151
151
simple-message = [simple-start pattern]
152
- simple-start = simple-start-char / text-escape / placeholder
152
+ simple-start = simple-start-char / escaped-char / placeholder
153
153
```
154
154
155
155
A ** _ <dfn >complex message</dfn >_ ** is any _ message_ that contains _ declarations_ ,
@@ -255,7 +255,7 @@ Unless there is an error, resolving a _message_ always results in the formatting
255
255
of a single _ pattern_ .
256
256
257
257
``` abnf
258
- pattern = *(text-char / text-escape / placeholder)
258
+ pattern = *(text-char / escaped-char / placeholder)
259
259
```
260
260
A _ pattern_ MAY be empty.
261
261
@@ -291,7 +291,7 @@ U+007B LEFT CURLY BRACKET `{`, and U+007D RIGHT CURLY BRACKET `}`
291
291
MUST be escaped as `\\`, `\{`, and `\}` respectively.
292
292
293
293
In the ABNF, _text_ is represented by non-empty sequences of
294
- `simple-start-char`, `text-char`, and `text-escape `.
294
+ `simple-start-char`, `text-char`, and `escaped-char `.
295
295
The first of these is used at the start of a _simple message_,
296
296
and matches `text-char` except for not allowing U+002E FULL STOP `.`.
297
297
The ABNF uses `content-char` as a shared base for _text_ and _quoted literal_ characters.
@@ -656,7 +656,7 @@ unrecognized _reserved-annotations_ or _private-use-annotations_ have no meaning
656
656
reserved-annotation = reserved-annotation-start reserved-body
657
657
reserved-annotation-start = "!" / "%" / "*" / "+" / "<" / ">" / "?" / "~"
658
658
659
- reserved-body = *([s] 1*(reserved-char / reserved-escape / quoted))
659
+ reserved-body = *([s] 1*(reserved-char / escaped-char / quoted))
660
660
```
661
661
662
662
## Markup
@@ -830,7 +830,7 @@ of number values in _operands_ or _options_, or as _keys_ for _variants_.
830
830
831
831
``` abnf
832
832
literal = quoted / unquoted
833
- quoted = "|" *(quoted-char / quoted-escape ) "|"
833
+ quoted = "|" *(quoted-char / escaped-char ) "|"
834
834
unquoted = name / number-literal
835
835
number-literal = ["-"] (%x30 / (%x31-39 *DIGIT)) ["." 1*DIGIT] [%i"e" ["-" / "+"] 1*DIGIT]
836
836
```
@@ -912,14 +912,13 @@ An **_<dfn>escape sequence</dfn>_** is a two-character sequence starting with
912
912
U+005C REVERSE SOLIDUS ` \ ` .
913
913
914
914
An _ escape sequence_ allows the appearance of lexically meaningful characters
915
- in the body of _ text_ , _ quoted_ , or _ reserved_ (which includes, in this case,
916
- _ private-use_ ) sequences respectively:
915
+ in the body of _ text_ , _ quoted_ , or _ reserved_
916
+ (which includes, in this case, _ private-use_ ) sequences.
917
+ Each _ escape sequence_ represents the literal character immediately following the initial ` \ ` .
917
918
918
919
``` abnf
919
- text-escape = backslash ( backslash / "{" / "}" )
920
- quoted-escape = backslash ( backslash / "|" )
921
- reserved-escape = backslash ( backslash / "{" / "|" / "}" )
922
- backslash = %x5C ; U+005C REVERSE SOLIDUS "\"
920
+ escaped-char = backslash ( backslash / "{" / "|" / "}" )
921
+ backslash = %x5C ; U+005C REVERSE SOLIDUS "\"
923
922
```
924
923
925
924
### Whitespace
0 commit comments