mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-09 07:11:53 +08:00
18 lines
357 B
JavaScript
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: /[{},]/
|
|
}
|
|
}
|