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 c10d5d9 commit 5cd8456Copy full SHA for 5cd8456
pkg/parser/parser.go
@@ -571,7 +571,7 @@ func IsNameChar(r byte) bool {
571
r == '<' || r == '>' ||
572
r == '&' || r == '#' ||
573
r == '/' || r == '%' ||
574
- r == '@'
+ r == '@' || r == '+'
575
}
576
577
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