code: function(globString) {
          this.regexp = new RegExp(PatternMatcher.regexpFromGlobContains(globString));
          this.matches = function(actual) {
              return this.regexp.test(actual);
          };
      }
docs: "globContains" (aka "wildmat") patterns, e.g. "glob:one,two,*",
  but don't require a perfect match; instead succeed if actual
  contains something that matches globString.
  Making this distinction is motivated by a bug in IE6 which
  leads to the browser hanging if we implement *TextPresent tests
  by just matching against a regular expression beginning and
  ending with ".*".  The globcontains strategy allows us to satisfy
  the functional needs of the *TextPresent ops more efficiently
  and so avoid running into this IE6 freeze.