Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
\[ \[SmokeDetector\]\(https://github\.com/Charcoal-SE/SmokeDetector\) \] (.+): \[(.+)\]\(//[\w\.]+.com/(questions|answers|q|a)/(\d+)\) by \[(.+)\]\(//[\w.]+/users/(\d+)/[\w+-]+\) on `(.+)`
"

Description

Parses Smokey messages

Submitted by Eyeballcode - 9 years ago