REGEX in Rails
%r {}
A Regexp holds a regular expression, used to match a pattern against strings
Regexps are created using the /.../ and %r{...} literals, and by the Regexp::new constructor.
%r {}A Regexp holds a regular expression, used to match a pattern against strings
Regexps are created using the /.../ and %r{...} literals, and by the Regexp::new constructor.