-
Notifications
You must be signed in to change notification settings - Fork 23
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
Support multi-episode torrents? #4
Comments
Hello! |
FYI the ugly regex used by sonarr (C# project) to handle this case :
We are lucky that naming groups will be in ES2018 so there will no big problem to reuse this code ^^ |
Thanks for the library!
I need to extract the episodes contained into a single torrent name, for example:
This should, ideally, return as
season
an array like[1, 2, 3]
, but right now it returns just1
.I use this RegExp in my own code right now but I think it would make sense to have this built into the library:
The text was updated successfully, but these errors were encountered: