Skip to content

Rust port of regexpp (ECMAScript regular expression parser)

License

Notifications You must be signed in to change notification settings

qkniep/js-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-regex

Build Status codecov LoC License

Rust port of regexpp (ECMAScript regular expression parser). This crate is being developed mainly as an efficient validator of ECMAScript regular expressions for the deno_lint project.

Using the Library

let mut validator = EcmaRegexValidator::new(EcmaVersion::ES2018);
assert_eq!(validator.validate_pattern("foo|abc(d)?", false), Ok(()));
assert_eq!(validator.validate_flags("gim", false), Ok(()));

Performance

TBA

License

Released under the MIT License.

About

Rust port of regexpp (ECMAScript regular expression parser)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages