Incorrect results when the original text contains aribitrary whitespace throughout
@dmnapolitano is already working on this.
Since Sep 25, 2019.
Assessment
This issue has not been assessed yet.
Description
(Source)
original_text = """in Just-\nspring when the world is mud-\nluscious the little\nlame balloonman\n\nwhistles far and wee\n\nand eddieandbill come\n
running from marbles and\npiracies and it's\nspring\n\nwhen the world is puddle-wonderful\n\nthe queer\nold balloonman whistles\nfar and wee\nand bettyandisbel\
come dancing\n\nfrom hop-scotch and jump-rope and\n\nit's\nspring\nand\n\n the\n\n goat-footed\n\nballoonMan whistles\nfar\nand\nwee"""
match.match(original_text, ["when", "the", "world", "is", "mud-luscious",
"the", "little", "lame", "balloonman", "whistles", "far", "and", "wee"])
This produces incorrect results, failing to match all the way to the end of "wee" (let alone "whistles"):
[(25, 92, 'when the world is mud-\nluscious the little\nlame balloonman\n\nwhistle')]
- Dominant language
- Python
- Stars
- 20
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EducationalTestingService/match
-
This is also wrong Openbug
EducationalTestingService/match#8 · 1 assignee ·
-
enhancement question
EducationalTestingService/match#6 · 1 assignee ·
All issues in EducationalTestingService/match
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·