In my understanding, when Matz invented Ruby, he pretty much removed many Perl constructs and duplicated them. Does this apply to regular expressions, or are there any syntactic differences that I should be aware of?
See this for brief information on how to use regular expressions with Ruby. A very good tool if you want to check differences from Perl or something like http://rubular.com/