html/rainbow/rainbow.js
function _getPatternsForLanguage(language) {
        var patterns = language_patterns[language] || [],
            default_patterns = language_patterns[DEFAULT_LANGUAGE] || [];

        return _bypassDefaultPatterns(language) ? patterns : patterns.concat(default_patterns);
    }
function _getPatternsForLanguage(language) {
        var patterns = language_patterns[language] || [],
            default_patterns = language_patterns[DEFAULT_LANGUAGE] || [];

        return _bypassDefaultPatterns(language) ? patterns : patterns.concat(default_patterns);
    }
function _getPatternsForLanguage ( language ) { var patterns = language_patterns [ language ] || [ ] , default_patterns = language_patterns [ DEFAULT_LANGUAGE ] || [ ] ; return _bypassDefaultPatterns ( language ) ? patterns : patterns . concat ( default_patterns ) ; }
returns a list of regex patterns for this language

@param {string} language
@returns {Array}
returns a list of regex patterns for this language