Skip to content

Commit 35f7554

Browse files
committed
chore: update lock file
1 parent 076395a commit 35f7554

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

_abnf.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
sequence,
77
suffix,
88
} from "npm:compose-regexp";
9+
import { optimize } from "https://esm.sh/regexp-tree";
910

1011
const tchar = /[!#$%&'*+.^_`|~\dA-Za-z-]/;
1112
const token = suffix("+", tchar);
@@ -61,4 +62,10 @@ if (import.meta.main) {
6162
console.log("challenge:", challenge);
6263
console.log("element: ", element);
6364
console.log("authParam: ", authParam);
65+
console.log("token: ", optimize(token).toRegExp());
66+
console.log("token68: ", optimize(token68).toRegExp());
67+
console.log(
68+
"quoted-string: ",
69+
optimize(quotedString).toRegExp(),
70+
);
6471
}

deno.lock

Lines changed: 19 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)