Regular Expressions 101

Community Patterns

Match any django block tag that is not a common one

0

Regular Expression
Python

r"
\{\%\s*(?!(blocktrans|load|extends|trans|endblocktrans|if|endif|include|endblock|block)\b)
"
gm

Description

no description available

Submitted by anonymous - 3 years ago