! exec pint --no-color config
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=INFO msg="Loading configuration file" path=.pint.hcl
level=ERROR msg="Execution completed with error(s)" err="failed to load config file \".pint.hcl\": empty name regex"
-- .pint.hcl --
rule {
  match {
    kind = "recording"
  }
  aggregate "" {
    keep = [ "job" ]
  }
}
