I thought the syntax was incorrect…
“cat” =~ “a” #=> 1
Fails as it’s looking to match a reg ex not a string.
“cat” =~ /a/ #=> 1
Or am I wrong?!?!
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.