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

Improve regex exclusion feature #16

Merged
merged 3 commits into from
Jul 12, 2023
Merged

Improve regex exclusion feature #16

merged 3 commits into from
Jul 12, 2023

Conversation

pR0Ps
Copy link
Contributor

@pR0Ps pR0Ps commented Oct 8, 2022

  • Compiles the regexes for performance
  • Fixes an oversight where exclusions weren't applied to txt-formatted sitemaps.
  • Switches to using re.search instead of re.match to match the documentation (ie. "containing" vs. "starting with") and changes the example to make it more obvious.

@justinmayer justinmayer requested review from kernc and avaris July 2, 2023 14:15
README.md Outdated Show resolved Hide resolved
@pR0Ps
Copy link
Contributor Author

pR0Ps commented Jul 11, 2023

Note that merging this would obsolete the fix proposed in #19 since it fixes the same issue

 - Compiles the regexes for performance
 - Fixes an oversight where exclusions weren't applied to txt-formatted
   sitemaps.
 - Switches to using `re.search` instead of `re.match` to match the
   documentation (ie. "containing" vs. "starting with") and changes the example to make it more obvious.
@pR0Ps
Copy link
Contributor Author

pR0Ps commented Jul 11, 2023

Also added a RELEASE.md file in the repo root with a summary of the changes

@justinmayer
Copy link
Contributor

Many thanks to @pR0Ps for the enhancement and to @avaris for reviewing! 🌟

@justinmayer justinmayer merged commit 888b982 into pelican-plugins:main Jul 12, 2023
7 checks passed
@pR0Ps pR0Ps deleted the bugfix/regex-matching branch July 13, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants