Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^(?:[-:+ ]*|\d\d/\d\d/\d\d \d\d:\d\d:\d\d INFO acceleratorGenerator: )Filter\s*(\(.+\)).*\[pid: [-\d]+, id: \d+, (?:inner: \S+, )?sid: [-\d]+\](?::\s+\{StructType\(((?:\s+StructField\(\S+, \S+, [^)]+\),?)+)\)\})?
"
gm

Description

no description available

Submitted by anonymous - 5 years ago