sdk/python/Utilities/PySreCompile
Utilities

PySreCompile

Python stdlib module — sre_compile. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.compile()Neutral
#
Signature
compile(p, flags)

compile function.

.dis()Neutral
#
Signature
dis(code)

dis function.

.isstring()Neutral
#
Signature
isstring(obj)

isstring function.

.error()Neutral
#
Signature
error(...)

Exception raised for invalid regular expressions.

Fully-Qualified Names

FQNField
sre_compilefqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import sre_compile