public/ckeditor/4.4dev/core/tools.js
function( arr, regexp ) {
			for ( var i = 0, l = arr.length; i < l; ++i ) {
				if ( arr[ i ].match( regexp ) )
					return true;
			}
			return false;
		}
function( arr, regexp ) {
			for ( var i = 0, l = arr.length; i < l; ++i ) {
				if ( arr[ i ].match( regexp ) )
					return true;
			}
			return false;
		}
function ( arr , regexp ) { for ( var i = 0 , l = arr . length ; i < l ; ++ i ) { if ( arr [ i ] . match ( regexp ) ) return true ; } return false ; }
Checks if any of the `arr` items match the provided regular expression.

@param {Array} arr The array whose items will be checked.
@param {RegExp} regexp The regular expression.
@returns {Boolean} Returns `true` for the first occurrence of the search pattern.
@since 4.4
Checks if any of the arr items match the provided regular expression .