BrianOn99 Thanks for the reply, feeling much better now :)
So yeah, Rest has ‘\b`, but I couldn’t benchmark against that (I don’t know rest, and I already spent days and nights benchmarking other suggestions that people gave). Do you have some code which I can take references from and try it out.
Anyways, Rest is a different language, and I needed a solution in Python. Hence I built FlashText.
PS: ‘regex with backtracking is slow’ is a better title than ‘regex is slow’. Good thing is, no where in the article I said Regex is slow. I only shared benchmarks :)
PPS: Let’s try Rest with ‘\b’ and see how that performs :)