Skip to content

Commit fbec8eb

Browse files
authored
Merge pull request #389 from odsantos/update-en-anchors-string-start
Update "Anchors: string start ^ and end $" article
2 parents 9ed7ca9 + 5ff0a30 commit fbec8eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

9-regular-expressions/04-regexp-anchors/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The pattern `pattern:^Mary` means: "string start and then Mary".
1616
Similar to this, we can test if the string ends with `snow` using `pattern:snow$`:
1717

1818
```js run
19-
let str1 = "it's fleece was white as snow";
19+
let str1 = "its fleece was white as snow";
2020
alert( /snow$/.test(str1) ); // true
2121
```
2222

0 commit comments

Comments
 (0)