EducationalTestingService / EducationalTestingService/match

What to do with hyphenated words?

Aperta
#6 0 commenti 0 reazioni 1 assegnatario Rivendicata da @dmnapolitano Vedi su GitHub
enhancement question
Lingua principale
Python
Stelle
20
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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. 👍

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.