L
Luca Scaljery
Hi All
I'm trying to filter email adresses like this
#! /usr/bin/ruby
email = "test_test.test"
if email.scan(/\@/)
p "yes"
end
For some reason my program always prints 'yes'
How would should I do this ?
thnx
LuCa
I'm trying to filter email adresses like this
#! /usr/bin/ruby
email = "test_test.test"
if email.scan(/\@/)
p "yes"
end
For some reason my program always prints 'yes'
How would should I do this ?
thnx
LuCa