summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/url.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-07-10 21:33:03 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-07-10 21:33:03 +0000
commit55edd4ce95a0bd2f92482474b866debb3a29b3cf (patch)
treedeb33b8dc1339fd0ab8bd0a087a933a17b186c87 /lib/sqlalchemy/engine/url.py
parentd89b81a1d9dd85e3dce3512643e9a077d60a2d44 (diff)
downloadsqlalchemy-55edd4ce95a0bd2f92482474b866debb3a29b3cf.tar.gz
adjument to regexp for parsing courtesy Barry Warsaw
Diffstat (limited to 'lib/sqlalchemy/engine/url.py')
-rw-r--r--lib/sqlalchemy/engine/url.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/engine/url.py b/lib/sqlalchemy/engine/url.py
index 65c9f1662..bd8ee2643 100644
--- a/lib/sqlalchemy/engine/url.py
+++ b/lib/sqlalchemy/engine/url.py
@@ -60,8 +60,8 @@ def _parse_rfc1738_args(name):
pattern = re.compile(r'''
(\w+)://
(?:
- ([^:]*)
- (?::(.*))?
+ ([^:/]*)
+ (?::([^/]*))?
@)?
(?:
([^/:]*)