Hacker News new | ask | show | jobs
by lfowles 3910 days ago
Isn't it written in python?

weight = 1000 if "cat" in title.lower() else 0

2 comments

Too many false positives. More like if re.search('\bcat\b')
touche my friend :)