Sha256: 5392276b3c13998246221b47f229c91ae1651ed9abad0dd3e5a663f6fdf3d720
Contents?: true
Size: 813 Bytes
Versions: 7
Compression:
Stored size: 813 Bytes
Contents
Prism.languages.rip = { 'comment': /#[^\r\n]*(\r?\n|$)/g, 'keyword': /(?:=>|->)|\b(?:class|if|else|switch|case|return|exit|try|catch|finally|raise)\b/g, 'builtin': /\b(@|System)\b/g, 'boolean': /\b(true|false)\b/g, 'date': /\b\d{4}-\d{2}-\d{2}\b/g, 'time': /\b\d{2}:\d{2}:\d{2}\b/g, 'datetime': /\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/g, 'number': /[+-]?(?:(?:\d+\.\d+)|(?:\d+))/g, 'character': /\B`[^\s\`\'",.:;#\/\\()<>\[\]{}]\b/g, 'regex': { pattern: /(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/(?=\s*($|[\r\n,.;})]))/g, lookbehind: true }, 'symbol': /:[^\d\s\`\'",.:;#\/\\()<>\[\]{}][^\s\`\'",.:;#\/\\()<>\[\]{}]*/g, 'string': /("|')(\\?.)*?\1/g, 'punctuation': /(?:\.{2,3})|[\`,.:;=\/\\()<>\[\]{}]/, 'reference': /[^\d\s\`\'",.:;#\/\\()<>\[\]{}][^\s\`\'",.:;#\/\\()<>\[\]{}]*/g };
Version data entries
7 entries across 7 versions & 1 rubygems