VictoriaMetrics/lib/regexutil
Aliaksandr Valialkin 1f75e5bb59
lib/logstorage: optimize common regex filters generated by Grafana
For example, `field:~".+"`, `field:~".*"` or `field:""`

Replace such filters to faster ones. For example, `field:~".*"` is replaced with `*`,
while `field:~".+"` is replaced with `field:*`.
2025-02-25 20:34:28 +01:00
..
promregex.go lib/logstorage: optimize common regex filters generated by Grafana 2025-02-25 20:34:28 +01:00
promregex_test.go lib/logstorage: work-in-progress 2024-05-24 03:06:55 +02:00
promregex_timing_test.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-25 21:24:03 +02:00
regex.go lib/logstorage: optimize common regex filters generated by Grafana 2025-02-25 20:34:28 +01:00
regex_test.go lib/logstorage: work-in-progress 2024-05-25 22:59:13 +02:00
regex_timing_test.go lib/logstorage: work-in-progress 2024-05-24 03:06:55 +02:00
regexutil.go lib/logstorage: work-in-progress 2024-05-24 03:06:55 +02:00
regexutil_test.go lib/logstorage: work-in-progress 2024-05-24 03:06:55 +02:00