main
Last change
on this file since e48199a was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
357 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | 'use strict'
|
---|
| 2 |
|
---|
| 3 | module.exports = arff
|
---|
| 4 | arff.displayName = 'arff'
|
---|
| 5 | arff.aliases = []
|
---|
| 6 | function 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.