From 7b6b40e0370a2c89d0d72b8d58fa1210b47a96c1 Mon Sep 17 00:00:00 2001 From: HaydenLobry <41764046+HaydenLobry@users.noreply.github.com> Date: Thu, 11 Apr 2019 10:00:46 +1000 Subject: [PATCH] Type in 22-regexp-sticky/article.md minor typo :) --- 9-regular-expressions/22-regexp-sticky/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9-regular-expressions/22-regexp-sticky/article.md b/9-regular-expressions/22-regexp-sticky/article.md index 3799aa66..e79a7987 100644 --- a/9-regular-expressions/22-regexp-sticky/article.md +++ b/9-regular-expressions/22-regexp-sticky/article.md @@ -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.