Skip to content

Use named regex capture groups in ParseVideoContent - #500

Open
artizirk wants to merge 2 commits into
bitmagnet-io:mainfrom
artizirk:cleanup_parse_video_content_regex
Open

Use named regex capture groups in ParseVideoContent#500
artizirk wants to merge 2 commits into
bitmagnet-io:mainfrom
artizirk:cleanup_parse_video_content_regex

Conversation

@artizirk

Copy link
Copy Markdown

This PR adds named regex capture groups. That allows using less magic numbers when reading out the parsed info from torrent names.

I have also added support for an additional name format with test.

This PR has been running quite well for last week for me.

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.

1 participant