EducationalTestingService / EducationalTestingService/match
Incorrect results when the original text contains aribitrary whitespace throughout
@dmnapolitano がすでに取り組んでいます。
2019年9月25日 から。
- 主要言語
- Python
- スター
- 20
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
([Source](https://www.poetryfoundation.org/poems/47247/in-just))
```python
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"""
```
```python
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"`):
```python
[(25, 92, 'when the world is mud-\nluscious the little\nlame balloonman\n\nwhistle')]
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。