MCPcopy Index your code
hub / github.com/python/cpython / _get_iscased

Function _get_iscased

Lib/re/_compiler.py:442–448  ·  view source on GitHub ↗
(flags)

Source from the content-addressed store, hash-verified

440 return table
441
442def _get_iscased(flags):
443 if not flags & SRE_FLAG_IGNORECASE:
444 return None
445 elif flags & SRE_FLAG_UNICODE:
446 return _sre.unicode_iscased
447 else:
448 return _sre.ascii_iscased
449
450def _get_literal_prefix(pattern, flags):
451 # look for literal prefix

Callers 2

_get_literal_prefixFunction · 0.85
_get_charset_prefixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…