public/ckeditor/4.4dev/core/filter.js
function regexifyPropertiesWithWildcards( validators ) {
		var patterns = [],
			i;

		for ( i in validators ) {
			if ( i.indexOf( '*' ) > -1 )
				patterns.push( i.replace( /\*/g, '.*' ) );
		}

		if ( patterns.length )
			return new RegExp( '^(?:' + patterns.join( '|' ) + ')$' );
		else
			return null;
	}
function regexifyPropertiesWithWildcards( validators ) {
		var patterns = [],
			i;

		for ( i in validators ) {
			if ( i.indexOf( '*' ) > -1 )
				patterns.push( i.replace( /\*/g, '.*' ) );
		}

		if ( patterns.length )
			return new RegExp( '^(?:' + patterns.join( '|' ) + ')$' );
		else
			return null;
	}
function regexifyPropertiesWithWildcards ( validators ) { var patterns = [ ] , i ; for ( i in validators ) { if ( i . indexOf ( '*' ) > - 1 ) patterns . push ( i . replace ( / \* / g , '.*' ) ) ; } if ( patterns . length ) return new RegExp ( '^(?:' + patterns . join ( '|' ) + ')$' ) ; else return null ; }
Returns a regexp object which can be used to test if a property matches one of wildcard validators.
Returns a regexp object which can be used to test if a property matches one of wildcard validators .