1
0

Made ticker format more flexible

This commit is contained in:
Jon Michael Aanes 2024-06-04 22:19:54 +02:00
parent bac92f449b
commit fa45d7afdb
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -10,7 +10,7 @@ import enforce_typing
## Ids
RE_TICKER_FORMAT = r'^[A-Z0-9_]+$'
RE_TICKER_FORMAT_FLEXIBLE = r'^[^:\s]+$'
RE_TICKER_FORMAT_FLEXIBLE = r'^[^:\s](?:[^:]*[^:\s])?$'
RE_CRYPTO_TICKER_FORMAT = r'^\S+$'