Skip to content

Commit 6d0fe48

Browse files
authored
Merge pull request #903 from HaydenLobry/patch-1
Type in 22-regexp-sticky/article.md
2 parents 892c56a + 7b6b40e commit 6d0fe48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

9-regular-expressions/22-regexp-sticky/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For instance, for a programming language variants can be like:
1515
- Or an operator `pattern:[+-/*]`?
1616
- (a syntax error if it's not anything in the expected list)
1717

18-
In Javascript, to perform a search starting from a given position, we can use `regexp.exec` with `regexp.lastIndex` property, but that's not we need!
18+
In Javascript, to perform a search starting from a given position, we can use `regexp.exec` with `regexp.lastIndex` property, but that's not what we need!
1919

2020
We'd like to check the match exactly at given position, not "starting" from it.
2121

0 commit comments

Comments
 (0)