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

You can literally make that with a one-liner Userscript in your browser.


And then rewrite it in Rust.


Would filter out trust, crust, …


That would be frustrating. Unless the matching is made case-sensitive, which would probably be a good idea when trying to filter out a proper name.


> frustrating

nice work


assuming people always case things correctly.


Why? You could just match on word boundaries '\bRust\b'

You would still get false positives with that but only regarding actual word semantics (i.e. articles mentioning Rust as oxidation process and not as programming language) but that's the tradeoff I guess


/([^a-z]|^)rust([^a-z]|$)/i




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: