Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
((?:if|for|while)\s+?[^:]*?:\n)|(else\s*?:\n)|(else\s+?if[^:]*?:\n)
"
g

Description

no description available

Submitted by anonymous - 5 years ago