VictoriaMetrics/lib/regexutil
Aliaksandr Valialkin dd1c0e3bb7
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:35:04 +01:00
..
promregex.go lib/logstorage: optimize common regex filters generated by Grafana 2025-02-25 20:35:04 +01:00
promregex_test.go lib/logstorage: work-in-progress 2024-05-24 03:07:07 +02:00
promregex_timing_test.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-26 09:44:40 +02:00
regex.go lib/logstorage: optimize common regex filters generated by Grafana 2025-02-25 20:35:04 +01:00
regex_test.go lib/logstorage: work-in-progress 2024-05-25 22:59:21 +02:00
regex_timing_test.go lib/logstorage: work-in-progress 2024-05-24 03:07:07 +02:00
regexutil.go lib/logstorage: work-in-progress 2024-05-24 03:07:07 +02:00
regexutil_test.go lib/logstorage: work-in-progress 2024-05-24 03:07:07 +02:00