Merge pull request #58 from ArthurKishinets/patch-1

The caret ^ matches at the beginning of the text.
This commit is contained in:
Ilya Kantor 2017-06-30 13:55:51 +03:00 committed by GitHub
commit 72b29f361f

View file

@ -4,7 +4,7 @@ The caret `pattern:'^'` and dollar `pattern:'$'` characters have special meaning
[cut]
The caret `pattern:^` matches at the end of the text, and the dollar `pattern:$` -- in the end.
The caret `pattern:^` matches at the beginning of the text, and the dollar `pattern:$` -- in the end.
For instance, let's test if the text starts with `Mary`: