update regex to allow '%' and '/' in column names (#3123)
parent
5aeb09f72d
commit
f8f112933d
|
|
@ -12,7 +12,7 @@ import (
|
||||||
"k8s.io/kubectl/pkg/cmd/get"
|
"k8s.io/kubectl/pkg/cmd/get"
|
||||||
)
|
)
|
||||||
|
|
||||||
var fullRX = regexp.MustCompile(`\A([\w\s-]+)\:?([^\|]*)\|?([T|N|W|L|R|H]{0,3})\b`)
|
var fullRX = regexp.MustCompile(`\A([\w\s%/\-]+)\:?([^\|]*)\|?([T|N|W|L|R|H]{0,3})\b`)
|
||||||
|
|
||||||
type colAttr byte
|
type colAttr byte
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue