parameters: (lines, options)
return_statement: return lines
docstring: Optionally exclude lines that match '--skip-requirements-regex'
docstring_summary: Optionally exclude lines that match '--skip-requirements-regex'
docstring_tokens: Optionally exclude lines that match -- skip - requirements - regex
function: def skip_regex(lines, options):
      """
      Optionally exclude lines that match '--skip-requirements-regex'
      """
      skip_regex = options.skip_requirements_regex if options else None
      if skip_regex:
          lines = filterfalse(re.compile(skip_regex).search, lines)
      return lines
function_tokens: def skip_regex ( lines , options ) : skip_regex = options . skip_requirements_regex if options else None if skip_regex : lines = filterfalse ( re . compile ( skip_regex ) . search , lines ) return lines