Closed plotski closed 3 years ago
Merging #714 (3630a47) into develop (de85403) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## develop #714 +/- ##
========================================
Coverage 98.49% 98.49%
========================================
Files 52 52
Lines 3387 3387
========================================
Hits 3336 3336
Misses 51 51
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 7044af3...3630a47. Read the comment docs.
"-+" also works, but it's more obscure. Regular expression syntax is widely known and understood. Explicit is better than implicit.
Just my opinion. Let me know if you insist on "-+" and I'll change it.
I understand, but most rebulk objects inside guessit register a dash
abbreviation to support separators in a consistent way and improve readability of patterns. It's registered globally for the other property like many other ones.
dash
abbrevation is declared here
So here, r'-'
is preprocessed in the regex declaration and replaced with r'(?:[\ \[\]\(\)\{\}\+\*\|=\-_\~\#\.,;:])'
. I'm pretty sure you don't want to copy/paste this everywhere in guessit.
Thank you for the explanation!
I've changed it and the tests seem to run fine.
Thanks, finally I have used "-?" to match no or one separator only.
This fixes detection of "Open Matte" when "." is used instead of " " in the release name.