Regular Expressions 101

Community Patterns

Ciclo FOR (Python)

0

Regular Expression
PCRE (PHP <7.3)

/
for( )+(([$,_,?,!,*]*[A-Z]*+[a-z]*)+)[ ]+in( )+([\D]+([(][\D]*[)])?):
/
gm

Description

Expresión regular para validar un ciclo for en Python.

Submitted by anonymous - 4 years ago