Skip to content

Commit

Permalink
Fix pattern (#328)
Browse files Browse the repository at this point in the history
* Fix pattern

* Fix pattern
  • Loading branch information
valeriibudko authored Nov 7, 2023
1 parent 567665a commit 6923135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/output/update/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6923135

Please sign in to comment.