github.com/hhrutter/nomad@v0.6.0-rc2.0.20170723054333-80c4b03f0705/jobspec/test-fixtures/regexp-constraint.hcl (about)

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