Add missing r to regular expression (#27)
A regular expression using "\S" was missing the "r" to indicate that it
was a raw string, causing a warning in Python 3. Add the missing "r".
Fixes #26.
diff --git a/mod_pywebsocket/websocket_server.py b/mod_pywebsocket/websocket_server.py
index df8cd39..fa24bb9 100644
--- a/mod_pywebsocket/websocket_server.py
+++ b/mod_pywebsocket/websocket_server.py
@@ -61,7 +61,7 @@
for line in f:
if line[0] == '#' or line.isspace():
continue
- m = re.match('(\S+)\s+(\S+)$', line)
+ m = re.match(r'(\S+)\s+(\S+)$', line)
if not m:
logging.warning('Wrong format in map file:' + line)
continue