mirror of
https://github.com/containers/podman.git
synced 2026-09-12 21:59:11 -04:00
Replaces regexp.MustCompile with regexp.Delayed from go.podman.io/storage/pkg/regexp for global regular expressions. This avoids compiling regular expressions during the global init scope, improving startup performance for all commands. Tests are kept using regexp.MustCompile where applicable. Fixes: #29510 Signed-off-by: Vishnu Kothakapu <vishnukothakapu27@gmail.com>