fix paste regexes
This commit is contained in:
parent
b95975ba03
commit
1e00de4c95
3 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
const reg = /https:\/\/0x0.st\/[^ ]*/;
|
||||
const reg = /https:\/\/0x0.st\/\w*/;
|
||||
|
||||
export async function read0x0(s: string): Promise<null | string> {
|
||||
const r = s.match(reg);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const reg = /https:\/\/mclo.gs\/[^ ]*/;
|
||||
const reg = /https:\/\/mclo.gs\/\w*/;
|
||||
|
||||
export async function readMcLogs(s: string): Promise<null | string> {
|
||||
const r = s.match(reg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue