Skip to content
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

Regression for series with dots in title #546

Closed
labrys opened this issue May 8, 2018 · 2 comments
Closed

Regression for series with dots in title #546

labrys opened this issue May 8, 2018 · 2 comments

Comments

@labrys
Copy link
Contributor

labrys commented May 8, 2018

Guessit Version: 2.1.4
Python Version

Some dots get replaced with spaces, others don't.

>>> import guessit
>>> guessit.__version__
'2.1.4'

# Acronym in middle or beginning of title
>>> guessit.guessit('This T.I.T.L.E. has dots')
MatchesDict([('title', 'This T I.T.L.E has dots'), ('type', 'movie')])  # missing first and last dot
>>> guessit.guessit('This T.I.T.L.E has dots')  # No trailing dot in acronym
MatchesDict([('title', 'This T I.T.L E has dots'), ('type', 'movie')])  # missing first and last dot

# Acronym at end of title
>>> guessit.guessit('Dots in this T.I.T.L.E.')
MatchesDict([('title', 'Dots in this T I.T.L.E.'), ('type', 'movie')])  # only missing first dot
>>> guessit.guessit('Dots in this T.I.T.L.E')  # Acronym at end of title w/o trailing dot
MatchesDict([('title', 'Dots in this T I.T.L.E'), ('type', 'movie')])  # only missing first dot
@ratoaq2
Copy link
Member

ratoaq2 commented May 8, 2018

Does it happen with latest develop?

@labrys
Copy link
Contributor Author

labrys commented May 8, 2018

Tested with branch feature/advanced-config 04cc163 and develop 994bdba and both do the same thing.

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

No branches or pull requests

2 participants