Hacker News new | ask | show | jobs
by vharuck 81 days ago
The pattern only matches if both ends are word boundaries. So "diffs" won't match, but "Oh, ffs!" will. It's also why they had to use the pattern "shit(ty|tiest)" instead of just "shit".
1 comments

You're right, I missed the \b's. Thanks for the correction.