Mega Code Archive
Categories
/
Ruby
/
String
=~ is a matching operator
puts "String contains no digits" unless "This is a test" =~ /[0¨C9]/