Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

0

Regular Expression
Python

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

Description

no description available

Submitted by anonymous - 6 years ago