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:
731 bytes
|
Line | |
---|
1 | /*
|
---|
2 | Language: FIX
|
---|
3 | Author: Brent Bradbury <brent@brentium.com>
|
---|
4 | */
|
---|
5 |
|
---|
6 | /** @type LanguageFn */
|
---|
7 | function fix(hljs) {
|
---|
8 | return {
|
---|
9 | name: 'FIX',
|
---|
10 | contains: [{
|
---|
11 | begin: /[^\u2401\u0001]+/,
|
---|
12 | end: /[\u2401\u0001]/,
|
---|
13 | excludeEnd: true,
|
---|
14 | returnBegin: true,
|
---|
15 | returnEnd: false,
|
---|
16 | contains: [
|
---|
17 | {
|
---|
18 | begin: /([^\u2401\u0001=]+)/,
|
---|
19 | end: /=([^\u2401\u0001=]+)/,
|
---|
20 | returnEnd: true,
|
---|
21 | returnBegin: false,
|
---|
22 | className: 'attr'
|
---|
23 | },
|
---|
24 | {
|
---|
25 | begin: /=/,
|
---|
26 | end: /([\u2401\u0001])/,
|
---|
27 | excludeEnd: true,
|
---|
28 | excludeBegin: true,
|
---|
29 | className: 'string'
|
---|
30 | }
|
---|
31 | ]
|
---|
32 | }],
|
---|
33 | case_insensitive: true
|
---|
34 | };
|
---|
35 | }
|
---|
36 |
|
---|
37 | module.exports = fix;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.