examples/webconsole/resources/js/jquery/jquery.dataTables.js
function _fnEscapeRegex ( sVal )
		{
			var acEscape = [ '/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\', '$', '^' ];
			var reReplace = new RegExp( '(\\' + acEscape.join('|\\') + ')', 'g' );
			return sVal.replace(reReplace, '\\$1');
		}
function _fnEscapeRegex ( sVal )
		{
			var acEscape = [ '/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\', '$', '^' ];
			var reReplace = new RegExp( '(\\' + acEscape.join('|\\') + ')', 'g' );
			return sVal.replace(reReplace, '\\$1');
		}
function _fnEscapeRegex ( sVal ) { var acEscape = [ '/' , '.' , '*' , '+' , '?' , '|' , '(' , ')' , '[' , ']' , '{' , '}' , '\\' , '$' , '^' ] ; var reReplace = new RegExp ( '(\\' + acEscape . join ( '|\\' ) + ')' , 'g' ) ; return sVal . replace ( reReplace , '\\$1' ) ; }
scape a string stuch that it can be used in a regular expression
@param {string} sVal string to escape
@returns {string} escaped string
@memberof DataTable#oApi
scape a string stuch that it can be used in a regular expression