Regular Expressions 101

Library entries

SQLALCHEMY_DATABASE_URI parser

Vote

1

Regular Expression
python

"
(?P<dialect>[^+:]+) (?: \+ (?P<driver>[^:]+) )? :// (?P<username>[^:@]+) (?: : (?P<password>[^@]+) )? @ (?P<host>[^:/]+) (?: : (?P<port>\S+) )? / (?P<database>.*)
"
x

Description

Loading markdown...
Submitted by jdnier - 6 years ago