music-kraken-core/music_kraken/utils/regex.py
2024-04-09 10:32:17 +02:00

4 lines
113 B
Python

URL_PATTERN = r"https?://(?:[-\w.]|(?:%[\da-fA-F]{2}))+"
INT_PATTERN = r"^\d*$"
FLOAT_PATTERN = r"^[\d|\,|\.]*$"