Regular Expressions 101

Community Patterns

1...45678...902

Community Library Entry

0

Regular Expression
Python

r"
^(?:(?:git@github\.com:)|(?:https://github.com))/?(?P<github_path>(?P<owner>\w+)/(?P<name>[\w-]+))(?:\.git)?$
"
gm

Description

no description available

Submitted by anonymous - 6 years ago