Regular Expressions 101

Library entries

Brasileirão - Url de leagues

Vote

1

Regular Expression
python

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

Description

Loading markdown...
Submitted by jroque Junior | Raphael Fruneaux - 6 years ago