code: def _handle_extract_pattern(self, pattern):
          '''Handle input option pattern'''
          if pattern is None or not pattern:
              patterns = []
          elif isinstance(pattern, str):
              patterns = [pattern]
          elif isinstance(pattern, Iterable):
              patterns = pattern
          else:
              raise ValueError(
                  f'Unacceptable value for parameter pattern: {pattern}')
          #
          for pattern in patterns:
              res = extract_pattern(pattern, self._targets)
              self.set(**res)
              # also make k, v pair with _input
              self._handle_paired_with({'_' + x: y for x, y in res.items()}f _handle_extract_pattern(self, pattern):
          '''Handle input option pattern'''
          if pattern is None or not pattern:
              patterns = []
          elif isinstance(pattern, str):
              patterns = [pattern]
          elif isinstance(pattern, Iterable):
              patterns = pattern
          else:
              raise ValueError(
                  f'Unacceptable value for parameter pattern: {pattern}')
          #
          for pattern in patterns:
              res = extract_pattern(pattern, self._targets)
              self.set(**res)
              # also make k, v pair with _input
              self._handle_paired_with({'_' + x: y for x, y in res.items()})
docs: Handle input option pattern