Skip to content

Commit

Permalink
Fix pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriibudko committed Nov 7, 2023
1 parent 567665a commit c019cf0
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|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 c019cf0

Please sign in to comment.