Skip to content

Commit 3d571fa

Browse files
srl295mcdurdin
andauthored
CLDR-18318 kbd: update spec and EBNF for escaping
- review comments Co-authored-by: Marc Durdin <[email protected]>
1 parent 21ff721 commit 3d571fa

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/ldml/tr35-keyboards.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,8 +2213,9 @@ _Attribute:_ `from` (required)
22132213
However, they are required to be escaped in keyboard transforms, to avoid confusion or problems with characters which are syntax in regular expressions.
22142214

22152215
Sequences not listed here as **Fixed Character Classes** nor as **Escapes** are disallowed.
2216-
For example, `\0` (octal escape) and `\1` (backreference) are not allowed.
2217-
`\a` is not defined as a character class and is also disallowed.
2216+
For example:
2217+
* `\0` (octal escape) and `\1` (backreference) are not allowed.
2218+
* `\a` is not defined as a character class and is also disallowed.
22182219

22192220
- **Character classes**
22202221

@@ -2232,7 +2233,7 @@ _Attribute:_ `from` (required)
22322233

22332234
`{x,y}`
22342235

2235-
`x` and `y` are required single digits (`1` to `9`) representing the minimum and maximum number of occurrences.
2236+
`x` and `y` are required single digits (`0` to `9`) representing the minimum and maximum number of occurrences.
22362237

22372238
`x` must be ≥ 0, `y` must be ≥ x and ≥ 1.
22382239

docs/ldml/tr35.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ The LDML specification is divided into the following parts:
228228

229229
## <a name="Introduction" href="#Introduction">Introduction</a>
230230

231-
Not long ago, computer systems were like separate worlds, isolated from one another. The internet and related events have changed all that. A single system can be built of many different compFonents, hardware and software, all needing to work together. Many different technologies have been important in bridging the gaps; in the internationalization arena, Unicode has provided a lingua franca for communicating textual data. However, there remain differences in the locale data used by different systems.
231+
Not long ago, computer systems were like separate worlds, isolated from one another. The internet and related events have changed all that. A single system can be built of many different components, hardware and software, all needing to work together. Many different technologies have been important in bridging the gaps; in the internationalization arena, Unicode has provided a lingua franca for communicating textual data. However, there remain differences in the locale data used by different systems.
232232

233233
The best practice for internationalization is to store and communicate language-neutral data, and format that data for the client. This formatting can take place on any of a number of the components in a system; a server might format data based on the user's locale, or it could be that a client machine does the formatting. The same goes for parsing data, and locale-sensitive analysis of data.
234234

0 commit comments

Comments
 (0)