fix.js 633 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. Language: FIX
  3. Author: Brent Bradbury <[email protected]>
  4. */
  5. function(hljs) {
  6. return {
  7. contains: [
  8. {
  9. begin: /[^\u2401\u0001]+/,
  10. end: /[\u2401\u0001]/,
  11. excludeEnd: true,
  12. returnBegin: true,
  13. returnEnd: false,
  14. contains: [
  15. {
  16. begin: /([^\u2401\u0001=]+)/,
  17. end: /=([^\u2401\u0001=]+)/,
  18. returnEnd: true,
  19. returnBegin: false,
  20. className: 'attr'
  21. },
  22. {
  23. begin: /=/,
  24. end: /([\u2401\u0001])/,
  25. excludeEnd: true,
  26. excludeBegin: true,
  27. className: 'string'
  28. }]
  29. }],
  30. case_insensitive: true
  31. };
  32. }