Regular Expressions 101

Community Patterns

Brasileirão - Url de leagues

1

Regular Expression
Python

r"
league/((?P<league_slug>[\w-]+)(/(?P<season_slug>\d{4}(-\d{4})?))?(/(?P<action_slug>[\w\-\_]+[(-|_)]?[\w]+))?)?(/)?
"
gmi

Description

no description available

Submitted by jroque Junior | Raphael Fruneaux - 8 years ago