Community Patterns

Community Library Entry

0

Regular Expression
Created·2019-01-07 15:38
Flavor·Python

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

Description

no description available

Submitted by anonymous