From: Shannon Fang Date: 2002-11-28T16:09:21+09:00 Subject: simple regexp question Hi In ruby, I can use the following to match a regexp: if string=~/pattern/ then ... However, the following does not work, if string!~/pattern/ then... I'll have to write if !(string=~/pattern/) then... Any suggestion? Shannon