github constant

Pattern const github

Github repository regex

Implementation

static const Pattern github =
    r'((git|ssh|http(s)?)|(git@[\w\.]+))(:(\/\/)?)([\w\.@\:/\-~]+)(\.git)(\/)?';