Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Corcoran patterns to regex for build_etd_pdf_hash task #576

Open
kerchner opened this issue Feb 3, 2025 · 0 comments
Open

Add Corcoran patterns to regex for build_etd_pdf_hash task #576

kerchner opened this issue Feb 3, 2025 · 0 comments
Assignees
Labels
Milestone

Comments

@kerchner
Copy link
Member

kerchner commented Feb 3, 2025

Whereas the main PDF files for GW ETDs have a pattern like: ..._gwu_0075A_12345.pdf

Corcoran PDFs have another pattern: ..._corcoran_0501M_12345.pdf

Expand the regex to account for these. A sufficient regex should be: pattern = /\w*_(?:gwu|corcoran)_(?:0075|0501)[A-Z]_\d+\.pdf/

@kerchner kerchner added the bug label Feb 3, 2025
@kerchner kerchner added this to the 2.2.2 milestone Feb 3, 2025
@kerchner kerchner self-assigned this Feb 3, 2025
kerchner added a commit that referenced this issue Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant