http.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "aliases": [
  3. "https"
  4. ],
  5. "illegal": "\\S",
  6. "contains": [
  7. {
  8. "begin": "^HTTP\/[0-9\\.]+",
  9. "end": "$",
  10. "contains": [
  11. {
  12. "className": "number",
  13. "begin": "\\b\\d{3}\\b"
  14. }
  15. ]
  16. },
  17. {
  18. "begin": "^[A-Z]+ (.*?) HTTP\/[0-9\\.]+$",
  19. "returnBegin": true,
  20. "end": "$",
  21. "contains": [
  22. {
  23. "className": "string",
  24. "begin": " ",
  25. "end": " ",
  26. "excludeBegin": true,
  27. "excludeEnd": true
  28. },
  29. {
  30. "begin": "HTTP\/[0-9\\.]+"
  31. },
  32. {
  33. "className": "keyword",
  34. "begin": "[A-Z]+"
  35. }
  36. ]
  37. },
  38. {
  39. "className": "attribute",
  40. "begin": "^\\w",
  41. "end": ": ",
  42. "excludeEnd": true,
  43. "illegal": "\\n|\\s|=",
  44. "starts": {
  45. "end": "$",
  46. "relevance": 0
  47. }
  48. },
  49. {
  50. "begin": "\\n\\n",
  51. "starts": {
  52. "subLanguage": [],
  53. "endsWithParent": true
  54. }
  55. }
  56. ]
  57. }