Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
This commit is contained in:
Alexey Terentyev 2018-06-26 17:41:25 +03:00
parent 9d01177209
commit 646acabb1f
No known key found for this signature in database
GPG Key ID: 60D6C550AEEBB467

View File

@ -6,12 +6,12 @@ package migrations
import (
"fmt"
"regexp"
"strings"
"code.gitea.io/gitea/modules/log"
"github.com/go-xorm/xorm"
"regexp"
)
var topicPattern = regexp.MustCompile(`^[a-z0-9][a-z0-9-]*$`)