From 4245cb446755baf8ac025430fb079ed5d33aba7d Mon Sep 17 00:00:00 2001 From: kosoado Date: Wed, 27 Sep 2017 06:44:57 -0500 Subject: [PATCH] Fix single quotes mismatch. --- 5-regular-expressions/12-regexp-anchors/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-regular-expressions/12-regexp-anchors/article.md b/5-regular-expressions/12-regexp-anchors/article.md index b4ae67cf..e1873a49 100644 --- a/5-regular-expressions/12-regexp-anchors/article.md +++ b/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 For instance, let's test if the text starts with `Mary`: ```js run -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"; let str2 = 'Everywhere Mary went, the lamp was sure to go'; alert( /^Mary/.test(str1) ); // true