Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5f927bd

Browse files
authored
Merge pull request #2611 from AhmedElaguab/master
Fix typo
2 parents bcb47b7 + 88ba2c2 commit 5f927bd

File tree

1 file changed

+1
-1
lines changed
  • 9-regular-expressions/17-regexp-methods

1 file changed

+1
-1
lines changed

‎9-regular-expressions/17-regexp-methods/article.md‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /