11 lines
233 B
JavaScript
11 lines
233 B
JavaScript
|
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': /[{},]/
|
||
|
};
|