mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-11-03 01:23:53 +08:00
Compile the regular expressions only on first use rather than implicitly as part of the `init()` function of the package. This prevents taking a speed hit on the initialization of the package regardless if this type is used and moves it to the time when a regular expression is first used. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>