Comments (1)
It's to ensure that we only match episode numbers that are two digits long, so for example in this string:
Fear.The.Walking.Dead.S03E04.1080p.WEB-DL.6CH.x265.HEVC-PSA
if we don't have the non-capturing group, then we would also match the x26
codec information. The {}
Quantifier only limits the number of digits to be matched but does not guarantee that there will not be more digits following.
You can play around with it here.
from parse-torrent-name.
Related Issues (17)
- Parse TV.Show.2017.07.01 episode names HOT 7
- Question about the field `group` and `excess` HOT 5
- Python 3 compatibility HOT 6
- Cant parse only season, multiple season and subs excess with only season HOT 2
- Provide it as a command line utility.
- Title with number couldn't be parsed correctly HOT 2
- Test with Hyphen in the name is broken HOT 1
- Unable to PIP Install. HOT 1
- Uninstall the script HOT 1
- How to parse 2012 (2009 movie)? HOT 1
- Add 2020 as a possible release year HOT 2
- Add support for complete TV show seasons, without episode numbering
- equivalent in jav
- To slow in py2 with standard regex
- Parsing episode names with year numbers in them results in an incorrect release `year`
- Error when dowloading in python 3.11.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parse-torrent-name.