MonkeeSage wrote:

> I.e., you were matching on either side of the @
> 
Oh boy, you are right! Thanks for the explanation.
I will try it with:
string =~ /^\w+\.\w+\z/

But is there a ruby operator to look for matches on the entire string?

Thanks for your help
Bart