typo
This commit is contained in:
parent
7b76185892
commit
6de9d70114
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ alert( str.match(/^\d/g) ); // 1
|
||||||
That's because by default a caret `pattern:^` only matches at the beginning of the text, and in the multiline mode -- at the start of any line.
|
That's because by default a caret `pattern:^` only matches at the beginning of the text, and in the multiline mode -- at the start of any line.
|
||||||
|
|
||||||
```smart
|
```smart
|
||||||
"Start of a line" formally means "immediately after a line break": the test `pattern:^` in multiline mode matches at all positions preceeded by a newline character `\n`.
|
"Start of a line" formally means "immediately after a line break": the test `pattern:^` in multiline mode matches at all positions preceded by a newline character `\n`.
|
||||||
|
|
||||||
And at the text start.
|
And at the text start.
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue