Regular Expressions 101

Community Patterns

for loop with customfield,

1

Regular Expression
PCRE (PHP <7.3)

/
({%\sfor\s)([^{]|{(?!%\s(?:end)?for\s)|(?1)(?2)*(?3))*?customfield(?2)*({%\sendfor\s%})
/
g

Description

no description available

Submitted by anonymous - 3 years ago