Regexp pattern for strip_escape_codes method stored in constant