Y
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
gipp
3910 days ago
Too many false positives. More like if re.search('\bcat\b')
link
rip747
3910 days ago
touche my friend :)
link