We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66145f5 commit 4245cb4Copy full SHA for 4245cb4
5-regular-expressions/12-regexp-anchors/article.md
@@ -9,7 +9,7 @@ The caret `pattern:^` matches at the beginning of the text, and the dollar `patt
9
For instance, let's test if the text starts with `Mary`:
10
11
```js run
12
-let str1 = 'Mary had a little lamb, it's fleece was white as snow';
+let str1 = "Mary had a little lamb, it's fleece was white as snow";
13
let str2 = 'Everywhere Mary went, the lamp was sure to go';
14
15
alert( /^Mary/.test(str1) ); // true
0 commit comments