github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/jobspec/test-fixtures/regexp-constraint.hcl (about)

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