Type in 22-regexp-sticky/article.md
minor typo :)
This commit is contained in:
parent
c4b2a2fc34
commit
7b6b40e037
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ For instance, for a programming language variants can be like:
|
|||
- Or an operator `pattern:[+-/*]`?
|
||||
- (a syntax error if it's not anything in the expected list)
|
||||
|
||||
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!
|
||||
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!
|
||||
|
||||
We'd like to check the match exactly at given position, not "starting" from it.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue