diff options
author | Radon Rosborough <radon.neon@gmail.com> | 2017-08-14 03:43:21 +0300 |
---|---|---|
committer | Chris Rebert <github@chrisrebert.com> | 2017-08-14 03:43:21 +0300 |
commit | fedda2c9ddee2f78dbd588bd7fbf4e99ccb7464e (patch) | |
tree | d34a7e5d8ad7798373438427132ff390ae9744a2 | |
parent | 1378c7b5b887ac56b72d9d7e334da25112283dd9 (diff) |
Allow . to be used in repository names (#23)
This fixes a bug where repositories with periods in their names are
not recognized by NO CARRIER, even though they are valid.
-rw-r--r-- | src/main/scala/com/getbootstrap/no_carrier/github/util/RepositoryId.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/com/getbootstrap/no_carrier/github/util/RepositoryId.scala b/src/main/scala/com/getbootstrap/no_carrier/github/util/RepositoryId.scala index d870b62..5be184e 100644 --- a/src/main/scala/com/getbootstrap/no_carrier/github/util/RepositoryId.scala +++ b/src/main/scala/com/getbootstrap/no_carrier/github/util/RepositoryId.scala @@ -3,7 +3,7 @@ package com.getbootstrap.no_carrier.github.util import com.jcabi.github.Coordinates.{Simple=>RepoId} object RepositoryId { - private val OwnerSlashRepo = "([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)".r + private val OwnerSlashRepo = "([a-zA-Z0-9_-]+)/([a-zA-Z0-9._-]+)".r def unapply(ownerRepo: String): Option[RepoId] = { ownerRepo match { |