3 ms·
Maybe I have some sort of disease, but while reading "find words out of order or support features like stemming" the regexs for that immediately flashed before
by wpietri 4y ago
Maybe I have some sort of disease, but while reading "find words out of order or support features like stemming" the regexs for that immediately flashed before my eyes, so I think "necessary" is a little strong there.
- jack_squat 4y agoFTS is not the same as regex.
- wpietri 4y agoI don't think I said it was. I was addressing the specific use cases mentioned. If there's another use case you think is important in searching command line history, feel free to describe it.
- justinclift 4y ago> feel free to describe it Didn't they already? eg stemming
- epr 4y agoMost stemming use cases are trivially solved with a regex. That's the point he was making. The difference between a beginner and expert with regexes is quite a lot.
- justinclift 4y agoAhhh, interesting point. "We could learn advanced regexes... or we could just use FTS5". Hard call. :)
- epr 3y agoWell, I suppose what's trivial for me might be advanced for you :)
- justinclift 3y agoFor regexes, definitely. ;)
- wpietri 3y agoMaybe! Full-text search is great for text. Command lines have some things in common with text, but they definitely aren't normal text. E.g., punctuation is much more significant. Stemming may not be appropriate. Case matters. Word boundaries are different, and many of the significant lumps aren't really words.