We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf33b67 + f8313dc commit 88ba2c2Copy full SHA for 88ba2c2
9-regular-expressions/17-regexp-methods/article.md
@@ -65,7 +65,7 @@ There are 3 differences from `match`:
65
66
1. It returns an iterable object with matches instead of an array. We can make a regular array from it using `Array.from`.
67
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.
+3. If there are no results, it returns an empty iterable object instead of `null`.
69
70
Usage example:
71
0 commit comments