1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: adapt badge filter entity regex to cover labels [ci skip]

This commit is contained in:
Ferdinand Mütsch 2022-01-03 17:30:40 +01:00
parent d1cbabf662
commit bcbd6236df

View File

@ -17,7 +17,7 @@ import (
const (
intervalPattern = `interval:([a-z0-9_]+)`
entityFilterPattern = `(project|os|editor|language|machine):([_a-zA-Z0-9-\s]+)`
entityFilterPattern = `(project|os|editor|language|machine|label):([_a-zA-Z0-9-\s]+)`
)
type BadgeHandler struct {