News for hackers. Stuff that matters.
Re:Show HN: Telegram bot to get new HN stories by keywords by losteden1 on Wednesday September 30, 2020 @04:18PM (#24643322)
if it works then thanks a lot, it's helpful
Re:Show HN: Telegram bot to get new HN stories by keywords by solus_factor on Wednesday September 30, 2020 @05:28PM (#24644114)
Actually, I slightly changed the syntax to be simpler:

* "cool stuff" will only match if both 'cool' and 'stuff' are present

* "cool, stuff" will match if either 'cool' or 'stuff' is present

* "cool stuff, pizza" will either match both 'cool' and 'stuff' or 'pizza'

Vertical line is also supported: "cool stuff | pizza".

Re:Show HN: Telegram bot to get new HN stories by keywords by solus_factor on Wednesday September 30, 2020 @04:39PM (#24643539)
It does work, just pay attention to syntax:

* "cool, stuff" will only match if both 'cool' and 'stuff' are present

* "cool | stuff" will match if either 'cool' or 'stuff' is present

* "cool, stuff | pizza" will either match both 'cool' and 'stuff' or 'pizza'