lib/typus/regex.rb in typus-3.0.7 vs lib/typus/regex.rb in typus-3.0.8
- old
+ new
@@ -1,11 +1,9 @@
module Typus
-
module Regex
Email = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/
Url = /(^$)|(^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$)/ix
end
-
end