aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-06-19 23:44:27 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-06-19 23:44:27 +0200
commit56b989f3cc6d64e9b43b7fa07f6dac7323c80ce0 (patch)
tree6f00a4a1f975118bee8acf77f543708ebb7f7bf7 /skate
parent2e16173c217c6201c226e48b38f350bfd377393e (diff)
downloadrefcat-56b989f3cc6d64e9b43b7fa07f6dac7323c80ce0.tar.gz
refcat-56b989f3cc6d64e9b43b7fa07f6dac7323c80ce0.zip
url: remove unused pattern
Diffstat (limited to 'skate')
-rw-r--r--skate/url.go1
1 files changed, 0 insertions, 1 deletions
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.