Skip to content

Commit f8313dc

Browse files
authored
Update article.md
1 parent cf33b67 commit f8313dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 9-regular-expressions/17-regexp-methods/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ There are 3 differences from `match`:
6565
6666
1. It returns an iterable object with matches instead of an array. We can make a regular array from it using `Array.from`.
6767
2. Every match is returned as an array with capturing groups (the same format as `str.match` without flag `pattern:g`).
68-
3. If there are no results, it returns not `null`, but an empty iterable object.
68+
3. If there are no results, it returns an empty iterable object instead of `null`.
6969
7070
Usage example:
7171

0 commit comments

Comments
 (0)