Hacker News new | ask | show | jobs
by glangdale 2314 days ago
pattern is, btw: (teakettle\w|abcd)

Either pattern in alternation works fine, but even a simple alternation of the two goes back to the behavior that you might expect to get from awful patterns like \d..\d..\w...\s...\d (i.e. reporting only a partial set of matches).

1 comments

Did you mean either patter in "isolation"?
Yup, you're right - I wound up saying the opposite of what I meant!