Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
vharuck
2mo ago
0 comments
Save
Share
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".
0 comments
1 comments · 1 top-level
top
newest
oldest
BoppreH
2mo ago
You're right, I missed the \b's. Thanks for the correction.
j
/
k
navigate · click thread line to collapse