We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 299dc9d commit 02613ffCopy full SHA for 02613ff
pkg/parser/parser.go
@@ -570,7 +570,7 @@ func IsNameChar(r byte) bool {
570
r == '<' || r == '>' ||
571
r == '&' || r == '#' ||
572
r == '/' || r == '%' ||
573
- r == '@'
+ r == '@' || r == '+'
574
}
575
576
func isDigit(r byte) bool {
pkg/parser/parser_test.go
@@ -264,6 +264,13 @@ func TestParseExpr(t *testing.T) {
264
etype: EtName,
265
},
266
267
+ {
268
+ `foo.b[0-9]+.qux`,
269
+ &expr{
270
+ target: "foo.b[0-9]+.qux",
271
+ etype: EtName,
272
+ },
273
274
{
275
`virt.v1.*.text-match:<foo.bar.qux>`,
276
&expr{
0 commit comments