lunakv / academyruins-api

Rules API for Magic: The Gathering
https://api.academyruins.com/docs
GNU Affero General Public License v3.0
4 stars 1 forks source link

Adjust MTR extractor regexes #39

Closed lunakv closed 1 year ago

lunakv commented 1 year ago

Hotfix for #37.

The parsed PDF text had a link inserted in a separate paragraph in the middle of section 3.9, which wasn't caught by the URL pruning regex. It was extended to remove that link. I also made the other regex slightly more idiomatic.