Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you don't want a city name being matched, then you need it inside of quotes and the - outside of those. From the examples you've given, it sounds like you might have it reversed. IE, there aren't correct

["-berlin"] ["-new york city"]

These are the correct way to indicate you do not want (the - symbol) a word or phrase (the quote symbols:

[-"berlin"] [-"new york city"]



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

Search: