core.js
function any(/* patterns... */) {
        var patterns = [].slice.call(arguments, 0);
        var name = '(' + patterns.join(' | ') + ')';

        return new Pattern(name, function (str, pos) {
            var r, i;
            for (i = 0; i < patterns.length && !r; i++)
                r = patterns[i].exec(str, pos);
            return r;
        });
    }
function any(/* patterns... */) {
        var patterns = [].slice.call(arguments, 0);
        var name = '(' + patterns.join(' | ') + ')';

        return new Pattern(name, function (str, pos) {
            var r, i;
            for (i = 0; i < patterns.length && !r; i++)
                r = patterns[i].exec(str, pos);
            return r;
        });
    }
function any ( /* patterns... */ ) { var patterns = [ ] . slice . call ( arguments , 0 ) ; var name = '(' + patterns . join ( ' | ' ) + ')' ; return new Pattern ( name , function ( str , pos ) { var r , i ; for ( i = 0 ; i < patterns . length && ! r ; i ++ ) r = patterns [ i ] . exec ( str , pos ) ; return r ; } ) ; }
parses any of the given patterns
parses any of the given patterns