github.com/zhizhiboom/nomad@v0.8.5-0.20180907175415-f28fd3a1a056/jobspec/test-fixtures/regexp-constraint.hcl (about)

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