pattern(value) {
    var attr = this.attr;
    if (value === true) {
      var patternRegExp = raptorRegexp.simple(attr.name);
      attr.pattern = patternRegExp;
    }
  }
The "pattern" property allows the attribute
to be matched based on a simplified regular expression.

Example:

"pattern": "myprefix-*"