java_regex 0.1.0

Rust implementation of Java's java.util.regex.Pattern, byte-for-byte compatible with OpenJDK
Documentation
1
2
3
4
5
6
use java_regex::Regex;
fn main() {
    let re = Regex::new(r"(?:((\1[^\w])*?)){2,3}?").unwrap();
    let result = re.matches("\t");
    println!("matches: {}", result);
}