Cameron, Gemma (UK)
10/12/2006 10:53:00 AM
I thought the syntax was incorrect....
"cat" =~ "a" #=> 1
Fails as it's looking to match a reg ex not a string.
Should be:
"cat" =~ /a/ #=> 1
Or am I wrong?!?!
Gem
********************************************************************
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.
********************************************************************