text: /*!
   * UI development toolkit for HTML5 (OpenUI5)
   * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company.
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  /*
   * IMPORTANT: This is a private module, its API must not be used and is subject to change.
   * Code other than the OpenUI5 libraries must not introduce dependencies to this module.
   */
  sap.ui.define([], function() {
  	"use strict";
  
  	var rEscapeRegExp = /[[\]{}()*+?.\\^$|]/g;
  
  	/**
  	 * Escapes all characters that would have a special meaning in a regular expression.
  	 *
  	 * This method can be used when a string with arbitrary content has to be integrated
  	 * into a regular expression and when the whole string should match literally.
  	 *
  	 * Example:
  	 * <pre>
  	 *   sap.ui.require(["sap/base/strings/escapeRegExp"], function(escapeRegExp) {
  	 *
  	 *      var text = "E=m*c^2"; // text to search
  	 *      var search = "m*c";   // text to search for
  	 *
  	 *      text.match( new RegExp(              search  ) ); // [ "c" ]
  	 *      text.match( new RegExp( escapeRegExp(search) ) ); // [ "m*c" ]
  	 *
  	 *   });
  	 * </pre>
  	 *
  	 * @function
  	 * @exports sap/base/strings/escapeRegExp
  	 * @param {string} sString String to escape
  	 * @returns {string} The escaped string
  	 * @private
  	 * @SecPassthrough {0|return}
  	 */
  	var fnEscapeRegExp = function (sString) {
  		return sString.replace(rEscapeRegExp, "\\$&");
  	};
  	return fnEscapeRegExp;
  
  });
  
  
  