Fix regex syntax for the Ruby style guide