We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For rebulk version 0.7.6
0.7.6
The minimum I can do is share a failing test case:
def test_matches_7(): seps_surround = partial(chars_surround, ' .-/') rebulk = Rebulk() rebulk.regex_defaults(flags=re.IGNORECASE) rebulk.defaults(validate_all=True, children=True, private_parent=True, validator={'__parent__': seps_surround}) rebulk.chain().\ regex(r'S(?P<season>\d+)').\ regex(r'[ -](?P<season>\d+)').repeater('*') matches = rebulk.matches("Some S01") assert len(matches) == 1 matches[0].value = 1 matches = rebulk.matches("Some S01-02") assert len(matches) == 2 matches[0].value = 1 matches[1].value = 2 matches = rebulk.matches("programs4/Some S01-02") assert len(matches) == 2 matches[0].value = 1 matches[1].value = 2 matches = rebulk.matches("programs4/SomeS01middle.S02-03.andS04here") assert len(matches) == 2 matches[0].value = 2 matches[1].value = 3 matches = rebulk.matches("Some 02.and.S04-05.here") assert len(matches) == 2 matches[0].value = 4 matches[1].value = 5
This bug is related to guessit-io/guessit#359
The text was updated successfully, but these errors were encountered:
Thank you, it really helps. I'm debugging at the moment.
Sorry, something went wrong.
8b84357
No branches or pull requests
For rebulk version
0.7.6
The minimum I can do is share a failing test case:
This bug is related to guessit-io/guessit#359
The text was updated successfully, but these errors were encountered: