Regular Expressions 101

Library entries

git url

Vote

0

Regular Expression
python

"
(?P<method>https?|git|ssh)(?::\/\/(?:\w+@)?|@)(?P<provider>.*?)(?:\.org|\.com)(?:\/|:)(?P<handle>(?P<owner>.+?)\/(?P<repo>.+?))(?:\.git|\/)?$
"
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago