diff options
| -rw-r--r-- | src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.ts b/src/main.ts index 1a49c7f..36dacd3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -50,7 +50,7 @@ function getBangredirectUrl() { return null; } - const match = query.match(/!([a-z]+)/i); + const match = query.match(/!([a-z0-9]+)/i); const bangCandidate = match?.[1]?.toLowerCase(); const selectedBang = bangs.find((b) => b.t === bangCandidate) ?? defaultBang; |
