Change to 2 instance variables to correctly format the Regexp for ruby 2.0