This commit is contained in:
Ryan Cao 2022-06-08 14:25:24 +08:00
parent ea11dbba01
commit c282448d5b
No known key found for this signature in database
GPG key ID: 528A2C1B6656B97F
12 changed files with 20 additions and 19 deletions

View file

@ -1,4 +1,4 @@
const reg = /https\:\/\/0x0.st\/[^ ]*/;
const reg = /https:\/\/0x0.st\/[^ ]*/;
export async function read0x0(s: string): Promise<null | string> {
const r = s.match(reg);

View file

@ -1,4 +1,4 @@
const reg = /https\:\/\/hst.sh\/[\w]*/;
const reg = /https:\/\/hst.sh\/[\w]*/;
export async function readHastebin(s: string): Promise<string | null> {
const r = s.match(reg);

View file

@ -1,4 +1,4 @@
const reg = /https\:\/\/mclo.gs\/[^ ]*/;
const reg = /https:\/\/mclo.gs\/[^ ]*/;
export async function readMcLogs(s: string): Promise<null | string> {
const r = s.match(reg);

View file

@ -1,4 +1,4 @@
const reg = /https\:\/\/paste.gg\/p\/[\w]*\/[\w]*/;
const reg = /https:\/\/paste.gg\/p\/[\w]*\/[\w]*/;
export async function readPasteGG(s: string): Promise<null | string> {
const r = s.match(reg);