mirror of
https://github.com/go-gitea/gitea
synced 2024-11-13 21:54:24 +00:00
ad2642a8aa
* Implementation for calculating language statistics Impement saving code language statistics to database Implement rendering langauge stats Add primary laguage to show in repository list Implement repository stats indexer queue Add indexer test Refactor to use queue module * Do not timeout for queues
18 lines
264 B
Go
18 lines
264 B
Go
// +build oniguruma
|
|
|
|
package regex
|
|
|
|
import (
|
|
rubex "github.com/src-d/go-oniguruma"
|
|
)
|
|
|
|
type EnryRegexp = *rubex.Regexp
|
|
|
|
func MustCompile(str string) EnryRegexp {
|
|
return rubex.MustCompileASCII(str)
|
|
}
|
|
|
|
func QuoteMeta(s string) string {
|
|
return rubex.QuoteMeta(s)
|
|
}
|