Commit 35d84323 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

fix channel regex

fixes: "DeprecationWarning: invalid escape sequence \."
parent 3d831bf6
......@@ -53,7 +53,7 @@ TREND_MAX_SECONDS = {
DATA_LOOKBACK_LIMIT_BYTES = 2**22
CHANNEL_REGEXP = '^([a-zA-Z0-9-]+:)?[a-zA-Z0-9-_\.]+$'
CHANNEL_REGEXP = '^([a-zA-Z0-9-]+:)?[a-zA-Z0-9-_.]+$'
CHANNEL_RE = re.compile(CHANNEL_REGEXP)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment