code: def parse_parameter_string(cls, parameter_string):
          
          # We could receive NAME or NAME:PATTERN
          name = parameter_string
          pattern = "string"
          if ":" in parameter_string:
              name, pattern = parameter_string.split(":", 1)
              if not name:
                  raise ValueError(
                      "Invalid parameter syntax: {}".format(parameter_string)
                  )
  
          default = (str, pattern)
          # Pull from pre-configured types
          _type, pattern = REGEX_TYPES.get(pattern, default)
  
          return name, _type, pattern
docs: Parse a parameter string into its constituent name, type, and
          pattern
  
          For example::
  
              parse_parameter_string('<param_one:[A-z]>')` ->
                  ('param_one', str, '[A-z]')
  
          :param parameter_string: String to parse
          :return: tuple containing
              (parameter_name, parameter_type, parameter_pattern)