source: node_modules/refractor/lang/arff.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 357 bytes
Line 
1'use strict'
2
3module.exports = arff
4arff.displayName = 'arff'
5arff.aliases = []
6function arff(Prism) {
7 Prism.languages.arff = {
8 comment: /%.*/,
9 string: {
10 pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
11 greedy: true
12 },
13 keyword: /@(?:attribute|data|end|relation)\b/i,
14 number: /\b\d+(?:\.\d+)?\b/,
15 punctuation: /[{},]/
16 }
17}
Note: See TracBrowser for help on using the repository browser.