The re library allows the easy construction of regular expressions via an expression language.
Jim Weirich
gem "re", "~> 0.0.6"