if (! this.sh_languages) { this.sh_languages = {}; } sh_languages['ruby'] = [ [ [ /\b(?:require)\b/g, 'sh_preproc', -1 ], [ /\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g, 'sh_number', -1 ], [ /"/g, 'sh_string', 1 ], [ /'/g, 'sh_string', 2 ], [ /|\|/g, 'sh_symbol', -1 ], [ /(#)(\{)/g, ['sh_symbol', 'sh_cbracket'], -1 ], [ /#/g, 'sh_comment', 5 ], [ /\{|\}/g, 'sh_cbracket', -1 ] ], [ [ /$/g, null, -2 ], [ /\\(?:\\|")/g, null, -1 ], [ /"/g, 'sh_string', -2 ] ], [ [ /$/g, null, -2 ], [ /\\(?:\\|')/g, null, -1 ], [ /'/g, 'sh_string', -2 ] ], [ [ /$/g, null, -2 ], [ />/g, 'sh_string', -2 ] ], [ [ /^(?:\=end)/g, 'sh_comment', -2 ] ], [ [ /$/g, null, -2 ] ] ];