Skip to content

Commit 3465665

Browse files
committed
minor
1 parent b2f8974 commit 3465665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

9-regular-expressions/02-regexp-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ We've seen this method already. It returns the position of the first match or `-
4141
```js run
4242
let str = "A drop of ink may make a million think";
4343

44-
alert( str.search( *!*/a/i*/!* ) ); // 0 (the first position)
44+
alert( str.search( *!*/a/i*/!* ) ); // 0 (first match at zero position)
4545
```
4646
4747
**The important limitation: `search` only finds the first match.**

0 commit comments

Comments
 (0)