This repository has been archived by the owner on Feb 19, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw if
searchValue
is a non-global RegExp (#24)
* Throw if `searchValue` is a non-global RegExp * Add matchAll changes * Explicitly check for `undefined`, matching the RegExp constructor https://tc39.es/ecma262/#sec-regexp-pattern-flags #24
- Loading branch information
1 parent
fc879f4
commit b55f003
Showing
2 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters