We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f8974 commit 3465665Copy full SHA for 3465665
9-regular-expressions/02-regexp-methods/article.md
@@ -41,7 +41,7 @@ We've seen this method already. It returns the position of the first match or `-
41
```js run
42
let str = "A drop of ink may make a million think";
43
44
-alert( str.search( *!*/a/i*/!* ) ); // 0 (the first position)
+alert( str.search( *!*/a/i*/!* ) ); // 0 (first match at zero position)
45
```
46
47
**The important limitation: `search` only finds the first match.**
0 commit comments