Created
August 22, 2020 04:54
-
-
Save lenivene/a79f4a729679683415cef2f3e2b65a04 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
export default function preg_match(regex: RegExp, str: string) { | |
return regex.test(str); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment