We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72ed8ca + 9e2ac54 commit 8a9b6a2Copy full SHA for 8a9b6a2
pusher/util.py
@@ -8,10 +8,10 @@
8
import six
9
import sys
10
11
-channel_name_re = re.compile('^[-a-zA-Z0-9_=@,.;]+$')
12
-app_id_re = re.compile('^[0-9]+$')
13
-pusher_url_re = re.compile('(http|https)://(.*):(.*)@(.*)/apps/([0-9]+)$')
14
-socket_id_re = re.compile('\d+\.\d+$')
+channel_name_re = re.compile('\A[-a-zA-Z0-9_=@,.;]+\Z')
+app_id_re = re.compile('\A[0-9]+\Z')
+pusher_url_re = re.compile('\A(http|https)://(.*):(.*)@(.*)/apps/([0-9]+)\Z')
+socket_id_re = re.compile('\A\d+\.\d+\Z')
15
16
if sys.version_info < (3,):
17
text = 'a unicode string'
0 commit comments