From 56b989f3cc6d64e9b43b7fa07f6dac7323c80ce0 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 19 Jun 2021 23:44:27 +0200 Subject: url: remove unused pattern --- skate/url.go | 1 - 1 file changed, 1 deletion(-) diff --git a/skate/url.go b/skate/url.go index f619b24..252d61c 100644 --- a/skate/url.go +++ b/skate/url.go @@ -13,7 +13,6 @@ var ( patHttpDOI = regexp.MustCompile(`(https?:\/\/)(10[.][0-9]{1,8}\/.*)`) patAccessedOn = regexp.MustCompile(`(?iU)(.*)[.;,]?(abgerufen|acces-sed|últimoacesso|updated|ac-cessed|zugegriffen|diunduh|adresinden|sayfasındanulaşıl|accessedon|consultéle|consultad|diaksestanggal|diaksespadatanggal|diakses|dateofaccess|lastaccessed|acesso|acessado|accessoem|accessed|recibido|accessedat|доступ-свободный|датаобращения|pageconsulté|indirme|downloadedfrom).*$`) patFileExtraSuffix = regexp.MustCompile(`(?i)(http.*[.](pdf\+html|zip|pdf|html|doc|docx|rar))([^?]*)$`) - patBrokenHttpSchema = regexp.MustCompile(`^https?[^://]*?.*`) patBrokenSchemaPrefix = regexp.MustCompile(`(http|https)\W+(.*)`) // Note: [...] and naming things, https://stackoverflow.com/q/56297974/89391. -- cgit v1.2.3