github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/jobspec/test-fixtures/regexp-constraint.hcl (about)

     1  job "foo" {
     2      constraint {
     3          attribute = "$attr.kernel.version"
     4          regexp = "[0-9.]+"
     5      }
     6  }