From c47799135dd1262a509a47b9b30d101bc865917a Mon Sep 17 00:00:00 2001 From: Steven Levithan Date: Fri, 1 Nov 2024 14:34:58 +0100 Subject: [PATCH] Conciseness in table --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 989dc7d..3c03d3b 100644 --- a/README.md +++ b/README.md @@ -420,9 +420,9 @@ Notice that nearly every feature below has at least subtle differences from Java ✔ POSIX properties
✔ Negate with \p{^…}, \P{^…}
✔ Insignificant spaces, underscores, and casing in names
- ✔ \p, \P without { is identity escape (like JS without flag u, v)
- ✔ JS prefixes invalid (ex: Script=)
- ✔ JS properties of strings invalid
+ ✔ \p, \P without { is an identity escape
+ ✔ Error for key prefixes
+ ✔ Error for props of strings
❌ Blocks (wontfix[2])
@@ -667,7 +667,7 @@ Notice that nearly every feature below has at least subtle differences from Java ✅ ✅ - ✔ Error if named capture present
+ ✔ Error if named capture used
✔ Refs the most recent of a capture/subroutine set
@@ -682,7 +682,7 @@ Notice that nearly every feature below has at least subtle differences from Java ✅ ✅ - ✔ Error if named capture present
+ ✔ Error if named capture used
✔ Allows leading 0s
✔ Refs the most recent of a capture/subroutine set
@@ -706,8 +706,8 @@ Notice that nearly every feature below has at least subtle differences from Java ☑️ ☑️ - ✔ Error if group defined to the right[5]
- ✔ Duplicate names/subroutines to the right not included in multiplex
+ ✔ Error if group to the right[5]
+ ✔ Duplicate names (and subroutines) to the right not included in multiplex
✔ Fail to match (or don't include in multiplex) ancestor groups and groups in preceding alternation paths
❌ Some rare cases are indeterminable at compile time and use the JS behavior of matching an empty string
@@ -727,12 +727,12 @@ Notice that nearly every feature below has at least subtle differences from Java ✅ ✅ - ✔ Can appear before reffed group
- ✔ Any depth of subroutine nesting
+ ✔ Allowed before reffed group
+ ✔ Can be nested (any depth)
✔ Doesn't alter backref nums
- ✔ Reuses flags that apply to the reffed group (not local flags)
- ✔ Replaces most recent captured values used by backrefs
- ✔ Error if named capture present
+ ✔ Reuses flags from the reffed group (ignores local flags)
+ ✔ Replaces most recent captured values (for backrefs)
+ ✔ Error if named capture used
@@ -808,7 +808,7 @@ Notice that nearly every feature below has at least subtle differences from Java ☑️ ☑️ - ● Supported if used at top level and no top-level alternation is used
+ ● Supported if at top level and no top-level alternation is used