Skip to content

leadpony/regexp4j

Repository files navigation

RegExp4J

Apache 2.0 License Maven Central Javadocs Build Status

ECMAScript compatible RegExp library for Java

Using as a Maven dependency

<dependency>
    <groupId>org.leadpony.regexp4j</groupId>
    <artifactId>regexp4j</artifactId>
    <version>0.1.0</version>
</dependency>

Limitations

  • Matching is performed by code point, not by code unit as in ECMAScript. For example, metacharacter . may match a character in supplementary planes encoded as a surrogate pair.
  • Regular expression . does not match a next-line character U+0085, which is categorized as a line terminator in Java.
  • Forward references are not supported.
  • Group values never be overwritten by null in looping by quantifiers.
  • The lower and upper bounds in bounded quantifier {m}, {m,}, and {m, n} cannot be greater than Integer.MAX_VALUE.
  • Unicode flag u is not implemented yet.

Copyright Notice

Copyright © 2020 the RegExp4J authors. This software is licensed under Apache License, Versions 2.0.

About

ECMAScript compatible RegExp library for Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages