You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. 👍
The text was updated successfully, but these errors were encountered:
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. 👍The text was updated successfully, but these errors were encountered: