music-kraken-core/music_kraken/utils/regex.py

4 lines
113 B
Python
Raw Normal View History

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