@@ -158,7 +158,7 @@ An empty string is a valid _simple message_.
158
158
159
159
``` abnf
160
160
simple-message = [simple-start pattern]
161
- simple-start = simple-start-char / text-escape / placeholder
161
+ simple-start = simple-start-char / escaped-char / placeholder
162
162
```
163
163
164
164
A ** _ <dfn >complex message</dfn >_ ** is any _ message_ that contains _ declarations_ ,
@@ -264,7 +264,7 @@ Unless there is an error, resolving a _message_ always results in the formatting
264
264
of a single _ pattern_ .
265
265
266
266
``` abnf
267
- pattern = *(text-char / text-escape / placeholder)
267
+ pattern = *(text-char / escaped-char / placeholder)
268
268
```
269
269
A _ pattern_ MAY be empty.
270
270
@@ -300,7 +300,7 @@ U+007B LEFT CURLY BRACKET `{`, and U+007D RIGHT CURLY BRACKET `}`
300
300
MUST be escaped as `\\`, `\{`, and `\}` respectively.
301
301
302
302
In the ABNF, _text_ is represented by non-empty sequences of
303
- `simple-start-char`, `text-char`, and `text-escape `.
303
+ `simple-start-char`, `text-char`, and `escaped-char `.
304
304
The first of these is used at the start of a _simple message_,
305
305
and matches `text-char` except for not allowing U+002E FULL STOP `.`.
306
306
The ABNF uses `content-char` as a shared base for _text_ and _quoted literal_ characters.
@@ -675,7 +675,7 @@ reserved-annotation = reserved-annotation-start [[s] reserved-body]
675
675
reserved-annotation-start = "!" / "%" / "*" / "+" / "<" / ">" / "?" / "~"
676
676
677
677
reserved-body = reserved-body-part *([s] reserved-body-part)
678
- reserved-body-part = reserved-char / reserved-escape / quoted
678
+ reserved-body-part = reserved-char / escaped-char / quoted
679
679
```
680
680
681
681
## Markup
@@ -852,7 +852,7 @@ of number values in _operands_ or _options_, or as _keys_ for _variants_.
852
852
853
853
``` abnf
854
854
literal = quoted / unquoted
855
- quoted = "|" *(quoted-char / quoted-escape ) "|"
855
+ quoted = "|" *(quoted-char / escaped-char ) "|"
856
856
unquoted = name / number-literal
857
857
number-literal = ["-"] (%x30 / (%x31-39 *DIGIT)) ["." 1*DIGIT] [%i"e" ["-" / "+"] 1*DIGIT]
858
858
```
@@ -934,14 +934,13 @@ An **_<dfn>escape sequence</dfn>_** is a two-character sequence starting with
934
934
U+005C REVERSE SOLIDUS ` \ ` .
935
935
936
936
An _ escape sequence_ allows the appearance of lexically meaningful characters
937
- in the body of _ text_ , _ quoted_ , or _ reserved_ (which includes, in this case,
938
- _ private-use_ ) sequences respectively:
937
+ in the body of _ text_ , _ quoted_ , or _ reserved_
938
+ (which includes, in this case, _ private-use_ ) sequences.
939
+ Each _ escape sequence_ represents the literal character immediately following the initial ` \ ` .
939
940
940
941
``` abnf
941
- text-escape = backslash ( backslash / "{" / "}" )
942
- quoted-escape = backslash ( backslash / "|" )
943
- reserved-escape = backslash ( backslash / "{" / "|" / "}" )
944
- backslash = %x5C ; U+005C REVERSE SOLIDUS "\"
942
+ escaped-char = backslash ( backslash / "{" / "|" / "}" )
943
+ backslash = %x5C ; U+005C REVERSE SOLIDUS "\"
945
944
```
946
945
947
946
### Whitespace
0 commit comments