From 6923135f459b599d0f552184f09b71c54f3bd665 Mon Sep 17 00:00:00 2001 From: Valeriy Budko Date: Tue, 7 Nov 2023 09:37:39 +0000 Subject: [PATCH] Fix pattern (#328) * Fix pattern * Fix pattern --- templates/output/update/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/output/update/index.jsx b/templates/output/update/index.jsx index c6f11e0..435b7f5 100644 --- a/templates/output/update/index.jsx +++ b/templates/output/update/index.jsx @@ -38,7 +38,7 @@ const UpdateTemplate = observe(() => { evt.preventDefault() const regexStringPatterns = - /(http(s)?:\/\/)?core.ac.uk\/(display|download)\/\d+|^\d+$/s + /(http(s)?:\/\/)?core.ac.uk\/(outputs|display|download)\/\d+|^\d+$/s // /(http(s)?:\/\/)?core.ac.uk\/(display|download\/pdf)\/\d+|^\d+$/s const regexNumberPattern = /\d+/s