diff --git a/TFR/server/account.py b/TFR/server/account.py index 0bda683..fdd3235 100644 --- a/TFR/server/account.py +++ b/TFR/server/account.py @@ -50,7 +50,7 @@ def post_settings(): twitch = request.form.get("twitch", "").strip() youtube = request.form.get("youtube", "").strip() - twitter_regex = re.compile("^(?!.*\.\.)(?!.*\.$)[\w.]{1,15}$") + twitter_regex = re.compile(r"^(?!.*\.\.)(?!.*\.$)[\w.]{1,15}$") twitch_regex = re.compile("^(?=.{4,25}$)(?!_)(?!.*[_.]{2})[a-zA-Z0-9._]+$") youtube_regex = re.compile("^(?!.*[._]{2})[a-zA-Z0-9._-]{1,50}$")