Add notes on Space Lua Pattern Matching (#1366)

This commit is contained in:
wbhouston
2025-05-02 07:36:04 +02:00
committed by GitHub
parent 73f6b09d02
commit c0f68f0906
3 changed files with 63 additions and 28 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import printf from "./printf.ts";
const ROSETTA_STONE = {
"([^a-zA-Z0-9%(])-": "$1*?",
"([^%])-([^a-zA-Z0-9?])": "$1*?$2",
"(.)-$": "$1*?",
"([^%])-$": "$1*?",
"%a": "[a-zA-Z]",
"%A": "[^a-zA-Z]",
"%c": "[\x00-\x1f]",