Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^download\/(?P<doc>[^\/]+)[|\/]{0,1}(?P<mode>[\w]{0,})[|\/]{0,1}$
"
gm

Description

URL Pattern Django

Submitted by Fernando Olivera - 2 years ago