Merge pull request #58 from ArthurKishinets/patch-1
The caret ^ matches at the beginning of the text.
This commit is contained in:
commit
72b29f361f
1 changed files with 1 additions and 1 deletions
|
@ -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`:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue