code: def process_path_part(part, parameters):
      
      if PARAMETER_REGEX.match(part):
          parameter_name = part.strip('{}')
          try:
              parameter = find_parameter(
                  parameters,
                  name=parameter_name,
                  in_=PATH
              )
          except ValueError:
              pass
          else:
              return construct_parameter_pattern(parameter)
      return escape_regex_special_chars(part)
docs: Given a part of a path either:
          - If it is a parameter:
              parse it to a regex group
          - Otherwise:
              escape any special regex characters