From 0c2562b6ff96cd187d2edd74bf314d093ad1afd4 Mon Sep 17 00:00:00 2001 From: Steven Levithan Date: Wed, 20 Nov 2024 16:27:12 +0100 Subject: [PATCH] Readme tweaks --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c44620e..6252611 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ An **[Oniguruma](https://github.com/kkos/oniguruma) to JavaScript regex transpiler** that runs in the browser and on your server. Use it to: - Take advantage of Oniguruma's many extended regex features in JavaScript. -- Run regexes written for Oniguruma from JavaScript, such as those used in TextMate grammars (used by VS Code, [Shiki](https://shiki.matsu.io/) syntax highlighter, etc.). +- Run regexes written for Oniguruma from JavaScript, such as those used in TextMate grammars (used by VS Code, [Shiki](https://shiki.style/) syntax highlighter, etc.). - Share regexes across your Ruby and JavaScript code. Compared to running the Oniguruma C library via WASM bindings using [vscode-oniguruma](https://github.com/microsoft/vscode-oniguruma), this library is **less than 4% of the size** and its regexes often run much faster since they run as native JavaScript. @@ -304,8 +304,7 @@ Notice that nearly every feature below has at least subtle differences from Java ✅ ● Currently supported only as a top-level flag
- ✔ ASCII [[:word:]], \p{Word}
- ✔ ASCII \b
+ ✔ ASCII \b, \w, [[:word:]], \p{Word}
@@ -377,7 +376,7 @@ Notice that nearly every feature below has at least subtle differences from Java ✅ ✔ Allows 1 hex digit
- ✔ Above 7F, is UTF-8 encoded byte (unlike JS)
+ ✔ Above 7F, is UTF-8 encoded byte (≠ JS)
✔ Error for invalid encoded bytes
@@ -458,7 +457,7 @@ Notice that nearly every feature below has at least subtle differences from Java ✅ ✅ - ✔ ASCII (unlike JS)
+ ✔ ASCII (≠ JS)
@@ -467,7 +466,7 @@ Notice that nearly every feature below has at least subtle differences from Java ✅ ✅ - ✔ Excludes only \n (unlike JS)
+ ✔ Excludes only \n (≠ JS)
@@ -654,7 +653,7 @@ Notice that nearly every feature below has at least subtle differences from Java ✅ ✅ - ✔ Unicode based (unlike JS)
+ ✔ Unicode based (≠ JS)