Commit 7cfdcb0
committed
Fix matching regex in Play plugin.
The regex `<.*>` has eager/greedy matching - it will match as
many characters as possible. This means that if there are multiple
bound variables in a path, this will match all the characters
between them, removing it from the resulting path label.
This commit changes the regex to use a "reluctant" quantifier.1 parent a1acc66 commit 7cfdcb0
File tree
1 file changed
+1
-1
lines changed- yax/play/src/main/scala/org/lyranthe/prometheus/client/integration/play/filters
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments