Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^(?:\s*(?:\[.*\]\s*)?([^ ]*\.[chpimxsola0-9]+):(?:(\d*):(?:\d*:)*\s*(?:(warning|error|note)\s*:|\s*(.*))|\s*(undefined reference to.*))(.*)|.*ld:\s*(.*-l(.*)))$
"
gm