dashes are valid

This commit is contained in:
Firepup Sixfifty 2023-11-17 19:11:08 -06:00
parent b3ed3cbcff
commit a084e4d620
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -7,7 +7,7 @@ import bare
load_dotenv()
__version__ = "v2.0.4"
npbase: str = "\[\x0303last\.fm\x03\] [A-Za-z0-9_[\]{}\\|^]{1,$MAX} (is listening|last listened) to: \x02.+ - .*\x02( \([0-9]+ plays\)( \[.*\])?)?"
npbase: str = "\[\x0303last\.fm\x03\] [A-Za-z0-9_[\]{}\\|\-^]{1,$MAX} (is listening|last listened) to: \x02.+ - .*\x02( \([0-9]+ plays\)( \[.*\])?)?"
su = "^(su|sudo|(su .*|sudo .*))$"
servers: dict[str, dict[str, Any]] = {
"ircnow": {