|
3 | 3 |
|
4 | 4 | As we've seen, a backslash `pattern:\` is used to denote character classes, e.g. `pattern:\d`. So it's a special character in regexps (just like in regular strings). |
5 | 5 |
|
6 | | -There are other special characters as well, that have special meaning in a regexp. They are used to do more powerful searches. Here's a full list of them: `pattern:[ \ ^ $ . | ? * + ( )`. |
| 6 | +There are other special characters as well, that have special meaning in a regexp, such as `pattern:[ ] { } ( ) \ ^ $ . | ? * +`. They are used to do more powerful searches. |
7 | 7 |
|
8 | | -Don't try to remember the list -- soon we'll deal with each of them separately and you'll know them by heart automatically. |
| 8 | +Don't try to remember the list -- soon we'll deal with each of them, and you'll know them by heart automatically. |
9 | 9 |
|
10 | 10 | ## Escaping |
11 | 11 |
|
|
0 commit comments