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 ee5853d

Browse files
authored
Merge pull request #2604 from odsantos/regex-methods
Fix typo.
2 parents e4ac603 + 11e0890 commit ee5853d

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
@@ -247,7 +247,7 @@ alert('12-34-56'.replaceAll("-", ":")) // 12:34:56
247247

248248
## regexp.exec(str)
249249

250-
The method `regexp.exec(str)` method returns a match for `regexp` in the string `str`. Unlike previous methods, it's called on a regexp, not on a string.
250+
The `regexp.exec(str)` method returns a match for `regexp` in the string `str`. Unlike previous methods, it's called on a regexp, not on a string.
251251

252252
It behaves differently depending on whether the regexp has flag `pattern:g`.
253253

0 commit comments

Comments
(0)

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