Skip to content

MishaKanai/java-regex-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Run Java regexes in Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages