commit
769275b235
|
@ -329,7 +329,7 @@ func (re *Regexp) UnmarshalYAML(unmarshal func(interface{}) error) error {
|
||||||
if err := unmarshal(&s); err != nil {
|
if err := unmarshal(&s); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
regex, err := regexp.Compile(s)
|
regex, err := regexp.Compile("^(?:" + s + ")$")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
102
ui/bindata.go
102
ui/bindata.go
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue