Skip to content

Commit 93d9c3b

Browse files
committed
Add a section about limitations to README
1 parent 201a5fa commit 93d9c3b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,17 @@
33
[![Build Status](https://travis-ci.org/leadpony/regexp4j.svg?branch=main)](https://travis-ci.org/leadpony/regexp4j)
44

55
ECMAScript compatible RegExp library for Java
6+
7+
## Limitations
8+
9+
* 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.
10+
* Regular expression `.` does not match a next-line character `U+0085`, which is categorized as a line terminator in Java.
11+
* Forward references are not supported.
12+
* Group values never be overwritten by `null` in looping by quantifiers.
13+
* The lower and upper bounds in bounded quantifier `{m}`, `{m,}`, and `{m, n}` cannot be greater than `Integer.MAX_VALUE`.
14+
* Unicode flag `u` is not implemented yet.
15+
16+
## Copyright Notice
17+
Copyright © 2020 the RegExp4J authors. This software is licensed under [Apache License, Versions 2.0][Apache 2.0 License].
18+
19+
[Apache 2.0 License]: https://www.apache.org/licenses/LICENSE-2.0

0 commit comments

Comments
 (0)