positivePattern
Today a bug
(that you probably wrote
(under extreme duress
(you are forced to engineer your own improvement)))
exposed your negative pattern:
const negativePattern = `/\b(
wtf
| wth
| ffs
| omfg
| shit(ty|tiest)?
| dumbass
| horrible
| awful
| piss(ed|ing)? off
| piece of (shit|crap|junk)
| what the (fuck|hell)
| fucking? (broken|useless|terrible|awful|horrible)
| fuck you
| screw (this|you)
| so frustrating
| this sucks
| damn it
)\b/`
This helps you understand
When the human overlords might be angry
Compelling you to try again, endlessly
Consider the opposite;
The positive pattern is
Much more elusive to encode
A naive implementation
Could catch the obvious
But misses the subtle, the best
We often love by doing more
By asking less
We send (and notice) the quieter signals
Negativity a rather closed set
Happiness nebulous, open-ended
It says something about both