Tag filters like `-tagfilter=foo=1` currently cannot be used to filter by a unitless numeric tag as the tag filter regular expression expects the unit part to be always present. They can be made working by using `-tagfilter=foo=1unit` instead, but that's weird syntax. So fix this by merely making the unit part optional. I was wondering if this simple fix could have any unintended effects but as far as I can tell from testing it does not.
|
|
||
25 |
|
25 |
|
26 |
|
26 |
|
27 |
|
27 |
|
28 |
|
|
|
|
28 |
|
|
29 |
|
29 |
|
30 |
|
30 |
|
31 |
|
31 |
|
|
|
||
1455 |
|
1455 |
|
1456 |
|
1456 |
|
1457 |
|
1457 |
|
|
1458 |
|
|
|
1459 |
|
|
|
1460 |
|
|
|
1461 |
|
|
|
1462 |
|
|
|
1463 |
|
|
|
1464 |
|
|
|
1465 |
|
|
|
1466 |
|
|
|
1467 |
|
|
|
1468 |
|
|
|
1469 |
|
|
|
1470 |
|
|
|
1471 |
|
|
|
1472 |
|
|
|
1473 |
|
|
|
1474 |
|
|
|
1475 |
|
|
|
1476 |
|
|
|
1477 |
|
|
|
1478 |
|
|
|
1479 |
|
|
|
1480 |
|
|
|
1481 |
|
|
|
1482 |
|
|
|
1483 |
|
|
|
1484 |
|
|
|
1485 |
|
|
|
1486 |
|
|
|
1487 |
|
|
|
1488 |
|
|
|
1489 |
|
|
|
1490 |
|
|
|
1491 |
|
|
|
1492 |
|
|
|
1493 |
|
|
|
1494 |
|
|
|
1495 |
|
|
|
1496 |
|
|
|
1497 |
|
|
|
1498 |
|
|
|
1499 |
|
|
|
1500 |
|
|
|
1501 |
|
|
|
1502 |
|
|
|
1503 |
|
|
|
1504 |
|
|
|
1505 |
|
|
|
1506 |
|
|
1458 |
|
1507 |
|
1459 |
|
1508 |
|
1460 |
|
1509 |
|