code: function(editorContext, options) {
  			var that = this;
  			var deferred = new Deferred();
  			editorContext.getText().then(function(text) {
  		     	return that._findImpl(editorContext, options, text, deferred);
  			}, deferred.reject);
  			return deferred;
  		}
docs: /* override