Skip to content

Commit 72b29f3

Browse files
authored
Merge pull request #58 from ArthurKishinets/patch-1
The caret ^ matches at the beginning of the text.
2 parents 1c757f7 + db5a80b commit 72b29f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-regular-expressions/12-regexp-anchors/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The caret `pattern:'^'` and dollar `pattern:'$'` characters have special meaning
44

55
[cut]
66

7-
The caret `pattern:^` matches at the end of the text, and the dollar `pattern:$` -- in the end.
7+
The caret `pattern:^` matches at the beginning of the text, and the dollar `pattern:$` -- in the end.
88

99
For instance, let's test if the text starts with `Mary`:
1010

0 commit comments

Comments
 (0)