EducationalTestingService / EducationalTestingService/match

What to do with hyphenated words?

Offen
#6 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @dmnapolitano Auf GitHub ansehen
enhancement question
Vorherrschende Sprache
Python
Sterne
20
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Currently, using `match.match("I really like time-travel!", "time")` will return a match on the `"time"` portion of `"time-travel"`. I can see applications where this is useful and also where this is terrible lol. Therefore it should probably be optional whether or not to match on portions of hyphenated words or to treat hyphenated words as one word. 👍

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.