#SWITCH action with "OR" conditions
Copy-and-paste Regular Expressions (regex)
Today I wanted to code a SWITCH action, but I wanted to be able to have "OR" conditions in it. Simple enough with Regular Expressions.
But then I got to thinking that "simple" is rarely ever used in the same sentence as "regular expressions", and I realized that others could benefit from this.
So here you go. All you have to do is find one that does what you want, and replace the "value" string(s) with your values.
NOTE: If you get ambitions and start changing things other that the "value" strings, chances are you WILL break something. Which is fine. But "to be forewarned is to be forearmed".