Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
^datos-departamento/(?P<year>\d{4})/(?P<mes>[0-9]|1[0-2])/(?P<acumulado>0|1)/(?P<regiones>.+)/(?P<zonas>.+)/(?P<formatos>.+)/$
"
g

Description

Define los parámetros para la consulta de los datos del departamento.

Submitted by anonymous - 8 years ago