match three cases basically:
1. /api/v1/media
2. /api/v2/media
3. /media
can someone help pls
Why not: url.endswith('/media') ?
https://regex101.com — learn regex. This isn't hard to write.
Обсуждают сегодня