Files
Iliyan Angelov c67067a2a4 Mail
2025-09-14 23:24:25 +03:00

18 lines
357 B
JavaScript

'use strict'
module.exports = arff
arff.displayName = 'arff'
arff.aliases = []
function arff(Prism) {
Prism.languages.arff = {
comment: /%.*/,
string: {
pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
greedy: true
},
keyword: /@(?:attribute|data|end|relation)\b/i,
number: /\b\d+(?:\.\d+)?\b/,
punctuation: /[{},]/
}
}