Hacker News new | past | comments | ask | show | jobs | submit login




set intraMax to something big, or Infinity (delete the 0). this will allow arbitrary amount of junk between each char


I see some results when intraMax is set to Inf but it doesn't seem to pick up "Llanowar Elves" despite the other libs hitting it first or second. If I narrow the list to only mtg_16000, I get 0 results.


ah yes you should expand the allowable arbitray chars within terms to include a space

intraChars: [a-z\d ]

(probably not ideal for perf)

you can leave intraMax at 1 in this case

you dont need either of these if you have camelcase LlanowarElves but will for lowercase elves: Llanowarelves




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: