Skip to content

Commit

Permalink
Update regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriibudko committed Dec 6, 2023
1 parent 24faedf commit aff081c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/output/update/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ const UpdateTemplate = observe(() => {
evt.preventDefault()

const regexStringPatterns =
/(http(s)?:\/\/)?core.ac.uk\/(outputs|display|download)\/\d+|^\d+$/s
/(http(s)?:\/\/)?core.ac.uk\/(outputs|display|download|download\/pdf)\/\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 aff081c

Please sign in to comment.