summaryrefslogtreecommitdiff
path: root/python/qpid/address.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-11-10 20:16:27 +0000
committerRafael H. Schloming <rhs@apache.org>2009-11-10 20:16:27 +0000
commite048998526e4beceda8ba1d732197bf945114ef3 (patch)
tree6aad4ca319c65d3314458a1db6ec125d7a854a19 /python/qpid/address.py
parent1b4f7d549a7c44ffe5a5e000ca0b3b5d2cdd3e73 (diff)
downloadqpid-python-e048998526e4beceda8ba1d732197bf945114ef3.tar.gz
permit hash and star as part of the address
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834647 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/address.py')
-rw-r--r--python/qpid/address.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/address.py b/python/qpid/address.py
index 5976d4889b..3355d1a591 100644
--- a/python/qpid/address.py
+++ b/python/qpid/address.py
@@ -36,7 +36,7 @@ RBRACE = Type("RBRACE", r"\}")
COLON = Type("COLON", r":")
COMMA = Type("COMMA", r",")
SLASH = Type("SLASH", r"/")
-ID = Type("ID", r'[a-zA-Z_][a-zA-Z0-9_.-]*')
+ID = Type("ID", r'[a-zA-Z_][a-zA-Z0-9_.#*-]*')
NUMBER = Type("NUMBER", r'[+-]?[0-9]*\.?[0-9]+')
STRING = Type("STRING", r""""(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'""")
WSPACE = Type("WSPACE", r"[ \n\r\t]+")