Don't stem "words" with a "." or "_" in them
ClosedPublic

Authored by epriestley on Feb 9 2017, 7:27 PM.

Details

Summary

Fixes T12106. It is correct for us to stem "oddly-proportioned", but not "oddlyproportioned.com" or "maniphest.levelup" or "ad_hoc_token_thing".

Test Plan
  • Added a bunch of test coverage.
  • Created a task named "apples.bananas ducks_quacks". Found it by searching for "apples.bananas" and "ducks_quacks".

Diff Detail

Repository
rPHU libphutil
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
epriestley created this revision.Feb 9 2017, 7:27 PM
chad accepted this revision.Feb 9 2017, 7:28 PM
This revision is now accepted and ready to land.Feb 9 2017, 7:28 PM
This revision was automatically updated to reflect the committed changes.