[COOK-4385] Class type conversion

Regex.Escape method accepts only a string parameter.  Port is a fixnum.

Rather than do a .to_s, put it in quotes to keep syntax consistent in code block.