java-regex-js

# java-regex-js


License
ISC
Install
npm install java-regex-js@0.0.3

Documentation

java-regex-js

This simply re-exports Pattern.compile(regex).matcher(input).matches() from java.util.regex.Pattern built using scala-js

Usage

import { compile as compileRegex } from "java-regex-js";

compileRegex("f.*")("foo") // true

Thanks to https://github.com/sjrd for the fantastic implementation and helpful guidance