We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72cc73d + f544928 commit 61684dfCopy full SHA for 61684df
pkg/parser/parser.go
@@ -693,7 +693,7 @@ func IsNameChar(r byte) bool {
693
r == '<' || r == '>' ||
694
r == '&' || r == '#' ||
695
r == '/' || r == '%' ||
696
- r == '@'
+ r == '@' || r == '+'
697
}
698
699
func IsDigit(r byte) bool {
pkg/parser/parser_test.go
@@ -299,6 +299,13 @@ func TestParseExpr(t *testing.T) {
299
etype: EtName,
300
},
301
302
+ {
303
+ `foo.b[0-9]+.qux`,
304
+ &expr{
305
+ target: "foo.b[0-9]+.qux",
306
+ etype: EtName,
307
+ },
308
309
{
310
`virt.v1.*.text-match:<foo.bar.qux>`,
311
&expr{
0 commit comments