Skip to content

Commit 6dd1311

Browse files
authored
Merge pull request #218 from Hobinx/patch-1
Fix single quotes mismatch.
2 parents 66145f5 + 4245cb4 commit 6dd1311

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
@@ -9,7 +9,7 @@ The caret `pattern:^` matches at the beginning of the text, and the dollar `patt
99
For instance, let's test if the text starts with `Mary`:
1010

1111
```js run
12-
let str1 = 'Mary had a little lamb, it's fleece was white as snow';
12+
let str1 = "Mary had a little lamb, it's fleece was white as snow";
1313
let str2 = 'Everywhere Mary went, the lamp was sure to go';
1414

1515
alert( /^Mary/.test(str1) ); // true

0 commit comments

Comments
 (0)