@@ -34,12 +34,10 @@ must be doubled to escape it:
3434
3535 ' A single quote '' inside a single-quoted string'
3636
37- Strings containing any of the following characters must be quoted. Although you
38- can use double quotes, for these characters it is more convenient to use single
39- quotes, which avoids having to escape any backslash ``\ ``:
40-
41- * ``: ``, ``{ ``, ``} ``, ``[ ``, ``] ``, ``, ``, ``& ``, ``* ``, ``# ``, ``? ``, ``| ``,
42- ``- ``, ``< ``, ``> ``, ``= ``, ``! ``, ``% ``, ``@ ``, ``` ``
37+ Strings containing any of the following characters must be quoted:
38+ ``: { } [ ] , & * # ? | - < > = ! % @ `` Although you can use double quotes, for
39+ these characters it is more convenient to use single quotes, which avoids having
40+ to escape any backslash ``\ ``.
4341
4442The double-quoted style provides a way to express arbitrary strings, by
4543using ``\ `` to escape characters and sequences. For instance, it is very useful
@@ -52,11 +50,11 @@ when you need to embed a ``\n`` or a Unicode character in a string.
5250 If the string contains any of the following control characters, it must be
5351escaped with double quotes:
5452
55- * ``\0 ``, ``\x01 ``, ``\x02 ``, ``\x03 ``, ``\x04 ``, ``\x05 ``, ``\x06 ``, ``\a ``,
56- ``\b ``, ``\t ``, ``\n ``, ``\v ``, ``\f ``, ``\r ``, ``\x0e ``, ``\x0f ``, ``\x10 ``,
57- ``\x11 ``, ``\x12 ``, ``\x13 ``, ``\x14 ``, ``\x15 ``, ``\x16 ``, ``\x17 ``, ``\x18 ``,
58- ``\x19 ``, ``\x1a ``, ``\e ``, ``\x1c ``, ``\x1d ``, ``\x1e ``, ``\x1f ``, ``\N ``,
59- ``\_ ``, ``\L ``, ``\P ``
53+ ``\0 ``, ``\x01 ``, ``\x02 ``, ``\x03 ``, ``\x04 ``, ``\x05 ``, ``\x06 ``, ``\a ``,
54+ ``\b ``, ``\t ``, ``\n ``, ``\v ``, ``\f ``, ``\r ``, ``\x0e ``, ``\x0f ``, ``\x10 ``,
55+ ``\x11 ``, ``\x12 ``, ``\x13 ``, ``\x14 ``, ``\x15 ``, ``\x16 ``, ``\x17 ``, ``\x18 ``,
56+ ``\x19 ``, ``\x1a ``, ``\e ``, ``\x1c ``, ``\x1d ``, ``\x1e ``, ``\x1f ``, ``\N ``,
57+ ``\_ ``, ``\L ``, ``\P ``
6058
6159Finally, there are other cases when the strings must be quoted, no matter if
6260you're using single or double quotes:
0 commit comments