Skip to content

Commit e698d5d

Browse files
mj-jadhavziishaned
authored andcommitted
FIX typo in Escaping special character section (ziishaned#63)
1 parent ea270ac commit e698d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ or lowercase character `c`, followed by lowercase character `a`, followed by low
259259

260260
## 2.7 Escaping special character
261261

262-
Backslash `\` is used in regular expression to escape the next character. This allows to to specify a symbol as a matching character
262+
Backslash `\` is used in regular expression to escape the next character. This allows us to specify a symbol as a matching character
263263
including reserved characters `{ } [ ] / \ + * . $ ^ | ?`. To use a special character as a matching character prepend `\` before it.
264264
For example, the regular expression `.` is used to match any character except newline. Now to match `.` in an input string the regular
265265
expression `(f|c|m)at\.?` means: lowercase letter `f`, `c` or `m`, followed by lowercase character `a`, followed by lowercase letter

0 commit comments

Comments
 (0)