code: function (pattern) {
              var
                  parser = new PatternParser();
              parser.parse(pattern, null);
              this._patternItem = parser.patternItem();
          }
docs: Constructor, check and compile the pattern
  
  @param {String} pattern