code_rippa 0.0.7 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile.lock +36 -0
  3. data/LICENSE +2 -2
  4. data/README.md +18 -1
  5. data/bin/code_rippa +15 -16
  6. data/code_rippa.gemspec +12 -10
  7. data/lib/code_rippa.rb +69 -51
  8. data/lib/code_rippa/syntax/actionscript.syntax +52 -52
  9. data/lib/code_rippa/syntax/active4d.syntax +226 -180
  10. data/lib/code_rippa/syntax/active4d_html.syntax +163 -173
  11. data/lib/code_rippa/syntax/active4d_ini.syntax +34 -27
  12. data/lib/code_rippa/syntax/active4d_library.syntax +8 -15
  13. data/lib/code_rippa/syntax/ada.syntax +19 -18
  14. data/lib/code_rippa/syntax/antlr.syntax +85 -85
  15. data/lib/code_rippa/syntax/apache.syntax +103 -109
  16. data/lib/code_rippa/syntax/applescript.syntax +244 -229
  17. data/lib/code_rippa/syntax/asp.syntax +41 -36
  18. data/lib/code_rippa/syntax/asp_vb.net.syntax +77 -72
  19. data/lib/code_rippa/syntax/bibtex.syntax +88 -90
  20. data/lib/code_rippa/syntax/blog_html.syntax +17 -29
  21. data/lib/code_rippa/syntax/blog_markdown.syntax +17 -27
  22. data/lib/code_rippa/syntax/blog_text.syntax +15 -15
  23. data/lib/code_rippa/syntax/blog_textile.syntax +15 -15
  24. data/lib/code_rippa/syntax/build.syntax +27 -27
  25. data/lib/code_rippa/syntax/bulletin_board.syntax +159 -172
  26. data/lib/code_rippa/syntax/c.syntax +31 -34
  27. data/lib/code_rippa/syntax/cake.syntax +27 -27
  28. data/lib/code_rippa/syntax/camlp4.syntax +23 -23
  29. data/lib/code_rippa/syntax/cm.syntax +19 -18
  30. data/lib/code_rippa/syntax/coffeescript.syntax +134 -181
  31. data/lib/code_rippa/syntax/coldfusion.syntax +51 -60
  32. data/lib/code_rippa/syntax/context_free.syntax +106 -106
  33. data/lib/code_rippa/syntax/cs.syntax +31 -34
  34. data/lib/code_rippa/syntax/css.syntax +112 -112
  35. data/lib/code_rippa/syntax/css_experimental.syntax +1006 -1004
  36. data/lib/code_rippa/syntax/csv.syntax +40 -44
  37. data/lib/code_rippa/syntax/d.syntax +80 -84
  38. data/lib/code_rippa/syntax/diff.syntax +46 -45
  39. data/lib/code_rippa/syntax/dokuwiki.syntax +118 -119
  40. data/lib/code_rippa/syntax/dot.syntax +26 -26
  41. data/lib/code_rippa/syntax/doxygen.syntax +26 -26
  42. data/lib/code_rippa/syntax/dylan.syntax +35 -35
  43. data/lib/code_rippa/syntax/eiffel.syntax +39 -42
  44. data/lib/code_rippa/syntax/erlang.syntax +514 -511
  45. data/lib/code_rippa/syntax/f-script.syntax +44 -44
  46. data/lib/code_rippa/syntax/fortran.syntax +80 -76
  47. data/lib/code_rippa/syntax/fxscript.syntax +78 -77
  48. data/lib/code_rippa/syntax/greasemonkey.syntax +20 -20
  49. data/lib/code_rippa/syntax/gri.syntax +47 -47
  50. data/lib/code_rippa/syntax/groovy.syntax +105 -114
  51. data/lib/code_rippa/syntax/gtd.syntax +10 -10
  52. data/lib/code_rippa/syntax/gtdalt.syntax +83 -83
  53. data/lib/code_rippa/syntax/haml.syntax +50 -50
  54. data/lib/code_rippa/syntax/haskell.syntax +47 -47
  55. data/lib/code_rippa/syntax/html-asp.syntax +15 -15
  56. data/lib/code_rippa/syntax/html_django.syntax +15 -14
  57. data/lib/code_rippa/syntax/html_for_asp.net.syntax +232 -245
  58. data/lib/code_rippa/syntax/html_mason.syntax +75 -74
  59. data/lib/code_rippa/syntax/html_rails.syntax +17 -27
  60. data/lib/code_rippa/syntax/html_tcl.syntax +13 -13
  61. data/lib/code_rippa/syntax/icalendar.syntax +15 -15
  62. data/lib/code_rippa/syntax/inform.syntax +26 -26
  63. data/lib/code_rippa/syntax/ini.syntax +30 -30
  64. data/lib/code_rippa/syntax/installer_distribution_script.syntax +49 -49
  65. data/lib/code_rippa/syntax/io.syntax +49 -46
  66. data/lib/code_rippa/syntax/java.syntax +117 -126
  67. data/lib/code_rippa/syntax/javaproperties.syntax +13 -12
  68. data/lib/code_rippa/syntax/javascript.syntax +141 -141
  69. data/lib/code_rippa/syntax/javascript_+_prototype.syntax +42 -41
  70. data/lib/code_rippa/syntax/javascript_+_prototype_bracketed.syntax +92 -91
  71. data/lib/code_rippa/syntax/jquery_javascript.syntax +64 -64
  72. data/lib/code_rippa/syntax/json.syntax +39 -39
  73. data/lib/code_rippa/syntax/languagedefinition.syntax +373 -453
  74. data/lib/code_rippa/syntax/lexflex.syntax +136 -136
  75. data/lib/code_rippa/syntax/lighttpd.syntax +31 -31
  76. data/lib/code_rippa/syntax/lilypond.syntax +246 -337
  77. data/lib/code_rippa/syntax/lisp.syntax +32 -32
  78. data/lib/code_rippa/syntax/literate_haskell.syntax +12 -12
  79. data/lib/code_rippa/syntax/logo.syntax +13 -14
  80. data/lib/code_rippa/syntax/logtalk.syntax +81 -81
  81. data/lib/code_rippa/syntax/lua.syntax +50 -48
  82. data/lib/code_rippa/syntax/m.syntax +78 -78
  83. data/lib/code_rippa/syntax/macports_portfile.syntax +98 -97
  84. data/lib/code_rippa/syntax/makefile.syntax +19 -19
  85. data/lib/code_rippa/syntax/man.syntax +9 -9
  86. data/lib/code_rippa/syntax/mediawiki.syntax +311 -401
  87. data/lib/code_rippa/syntax/mips.syntax +34 -34
  88. data/lib/code_rippa/syntax/mod_perl.syntax +25 -31
  89. data/lib/code_rippa/syntax/modula-3.syntax +24 -24
  90. data/lib/code_rippa/syntax/moinmoin.syntax +102 -102
  91. data/lib/code_rippa/syntax/mootools.syntax +283 -300
  92. data/lib/code_rippa/syntax/movable_type.syntax +91 -90
  93. data/lib/code_rippa/syntax/multimarkdown.syntax +19 -30
  94. data/lib/code_rippa/syntax/objective-c++.syntax +6 -10
  95. data/lib/code_rippa/syntax/objective-c.syntax +134 -138
  96. data/lib/code_rippa/syntax/ocaml.syntax +455 -453
  97. data/lib/code_rippa/syntax/ocamllex.syntax +94 -93
  98. data/lib/code_rippa/syntax/ocamlyacc.syntax +98 -98
  99. data/lib/code_rippa/syntax/opengl.syntax +6 -6
  100. data/lib/code_rippa/syntax/pascal.syntax +43 -42
  101. data/lib/code_rippa/syntax/perl.syntax +612 -615
  102. data/lib/code_rippa/syntax/plain_text.syntax +17 -20
  103. data/lib/code_rippa/syntax/postscript.syntax +71 -69
  104. data/lib/code_rippa/syntax/processing.syntax +60 -60
  105. data/lib/code_rippa/syntax/prolog.syntax +17 -20
  106. data/lib/code_rippa/syntax/property_list.syntax +338 -359
  107. data/lib/code_rippa/syntax/python.syntax +487 -509
  108. data/lib/code_rippa/syntax/python_django.syntax +9 -10
  109. data/lib/code_rippa/syntax/qmake_project.syntax +67 -67
  110. data/lib/code_rippa/syntax/qt_c++.syntax +12 -15
  111. data/lib/code_rippa/syntax/quake3_config.syntax +18 -17
  112. data/lib/code_rippa/syntax/r.syntax +42 -42
  113. data/lib/code_rippa/syntax/r_console.syntax +7 -8
  114. data/lib/code_rippa/syntax/ragel.syntax +109 -115
  115. data/lib/code_rippa/syntax/rd_r_documentation.syntax +53 -53
  116. data/lib/code_rippa/syntax/regexp.syntax +26 -26
  117. data/lib/code_rippa/syntax/release_notes.syntax +46 -26
  118. data/lib/code_rippa/syntax/remind.syntax +146 -146
  119. data/lib/code_rippa/syntax/restructuredtext.syntax +132 -131
  120. data/lib/code_rippa/syntax/rez.syntax +46 -45
  121. data/lib/code_rippa/syntax/ruby.syntax +533 -601
  122. data/lib/code_rippa/syntax/ruby_experimental.syntax +82 -100
  123. data/lib/code_rippa/syntax/ruby_on_rails.syntax +56 -68
  124. data/lib/code_rippa/syntax/s5.syntax +35 -51
  125. data/lib/code_rippa/syntax/scheme.syntax +162 -260
  126. data/lib/code_rippa/syntax/scilab.syntax +18 -18
  127. data/lib/code_rippa/syntax/setext.syntax +82 -82
  128. data/lib/code_rippa/syntax/shell-unix-generic.syntax +227 -226
  129. data/lib/code_rippa/syntax/slate.syntax +91 -91
  130. data/lib/code_rippa/syntax/sql.syntax +137 -139
  131. data/lib/code_rippa/syntax/sql_rails.syntax +8 -8
  132. data/lib/code_rippa/syntax/ssh-config.syntax +17 -17
  133. data/lib/code_rippa/syntax/standard_ml.syntax +67 -69
  134. data/lib/code_rippa/syntax/strings_file.syntax +20 -23
  135. data/lib/code_rippa/syntax/subversion_commit_message.syntax +20 -20
  136. data/lib/code_rippa/syntax/sweave.syntax +45 -45
  137. data/lib/code_rippa/syntax/swig.syntax +34 -33
  138. data/lib/code_rippa/syntax/tcl.syntax +87 -86
  139. data/lib/code_rippa/syntax/template_toolkit.syntax +67 -65
  140. data/lib/code_rippa/syntax/textile.syntax +111 -145
  141. data/lib/code_rippa/syntax/tsv.syntax +31 -33
  142. data/lib/code_rippa/syntax/twiki.syntax +141 -141
  143. data/lib/code_rippa/syntax/txt2tags.syntax +39 -38
  144. data/lib/code_rippa/syntax/vectorscript.syntax +31 -31
  145. data/lib/code_rippa/syntax/xhtml_1.0.syntax +2297 -2296
  146. data/lib/code_rippa/syntax/xml.syntax +95 -95
  147. data/lib/code_rippa/syntax/xml_strict.syntax +49 -50
  148. data/lib/code_rippa/syntax/xsl.syntax +31 -31
  149. data/lib/code_rippa/syntax/yaml.syntax +86 -86
  150. data/lib/code_rippa/syntax/yaml_converter.rb +37 -0
  151. data/lib/code_rippa/syntax/yui_javascript.syntax +88 -88
  152. data/lib/code_rippa/version.rb +2 -2
  153. data/test/fixtures/hello.rb +5 -3
  154. data/test/test_private_methods.rb +40 -40
  155. data/test/test_public_methods.rb +9 -18
  156. metadata +61 -63
@@ -1,215 +1,181 @@
1
- ---
1
+ ---
2
2
  name: Textile
3
- fileTypes:
3
+ fileTypes:
4
4
  - textile
5
5
  firstLineMatch: textile
6
6
  scopeName: text.html.textile
7
- repository:
8
- inline:
9
- patterns:
7
+ repository:
8
+ inline:
9
+ patterns:
10
10
  - name: text.html.textile
11
11
  match: "&(?![A-Za-z0-9]+;)"
12
- comment: "& is handled automagically by textile, so we match it to avoid text.html.basic from flagging it"
12
+ comment: "& is handled automagically by textile, so we match it to avoid text.html.basic
13
+ from flagging it"
13
14
  - name: markup.list.unnumbered.textile
14
- captures:
15
- "1":
15
+ captures:
16
+ '1':
16
17
  name: entity.name.type.textile
17
- match: ^\*+(\([^)]*\)|{[^}]*})*(\s+|$)
18
+ match: "^\\*+(\\([^)]*\\)|{[^}]*})*(\\s+|$)"
18
19
  - name: markup.list.numbered.textile
19
- captures:
20
- "1":
20
+ captures:
21
+ '1':
21
22
  name: entity.name.type.textile
22
- match: ^#+(\([^)]*\)|{[^}]*})*\s+
23
+ match: "^#+(\\([^)]*\\)|{[^}]*})*\\s+"
23
24
  - name: meta.link.reference.textile
24
- captures:
25
- "1":
25
+ captures:
26
+ '1':
26
27
  name: string.other.link.title.textile
27
- "2":
28
+ '2':
28
29
  name: string.other.link.description.title.textile
29
- "3":
30
+ '3':
30
31
  name: constant.other.reference.link.textile
31
- match: "(?x)\n\
32
- \t\t\t\t\t\t\t\t\"\t\t\t\t\t\t\t\t# Start name, etc\n\
33
- \t\t\t\t\t\t\t\t\t(?:\t\t\t\t\t\t\t# Attributes\n\
34
- \t\t\t\t\t\t\t\t\t\t# I swear, this is how the language is defined,\n\
35
- \t\t\t\t\t\t\t\t\t\t# couldnt make it up if I tried.\n\
36
- \t\t\t\t\t\t\t\t\t\t(?:\\([^)]+\\))?(?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?\n\
37
- \t\t\t\t\t\t\t\t\t\t\t# Class, Style, Lang\n\
38
- \t\t\t\t\t\t\t\t\t | (?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?(?:\\([^)]+\\))?\n\
39
- \t\t\t\t\t\t\t\t\t\t\t# Style, Lang, Class\n\
40
- \t\t\t\t\t\t\t\t\t | (?:\\[[^\\]]+\\])?(?:\\{[^}]+\\})?(?:\\([^)]+\\))?\n\
41
- \t\t\t\t\t\t\t\t\t\t\t# Lang, Style, Class\n\
42
- \t\t\t\t\t\t\t\t\t)?\n\
43
- \t\t\t\t\t\t\t\t\t([^\"]+?)\t\t\t\t\t# Link name\n\
44
- \t\t\t\t\t\t\t\t\t\\s?\t\t\t\t\t\t\t# Optional whitespace\n\
45
- \t\t\t\t\t\t\t\t\t(?:\\(([^)]+?)\\))?\n\
46
- \t\t\t\t\t\t\t\t\":\t\t\t\t\t\t\t\t# End name\n\
47
- \t\t\t\t\t\t\t\t(\\w[-\\w_]*)\t\t\t\t\t\t# Linkref\n\
48
- \t\t\t\t\t\t\t\t(?=[^\\w\\/;]*?(<|\\s|$))\t\t\t# Catch closing punctuation\n\
49
- \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t# and end of meta.link\n\
50
- \t\t\t\t\t"
32
+ match: "(?x)\n\t\t\t\t\t\t\t\t\"\t\t\t\t\t\t\t\t# Start name, etc\n\t\t\t\t\t\t\t\t\t(?:\t\t\t\t\t\t\t#
33
+ Attributes\n\t\t\t\t\t\t\t\t\t\t# I swear, this is how the language is defined,\n\t\t\t\t\t\t\t\t\t\t#
34
+ couldnt make it up if I tried.\n\t\t\t\t\t\t\t\t\t\t(?:\\([^)]+\\))?(?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?\n\t\t\t\t\t\t\t\t\t\t\t#
35
+ Class, Style, Lang\n\t\t\t\t\t\t\t\t\t | (?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?(?:\\([^)]+\\))?\n\t\t\t\t\t\t\t\t\t\t\t#
36
+ Style, Lang, Class\n\t\t\t\t\t\t\t\t\t | (?:\\[[^\\]]+\\])?(?:\\{[^}]+\\})?(?:\\([^)]+\\))?\n\t\t\t\t\t\t\t\t\t\t\t#
37
+ Lang, Style, Class\n\t\t\t\t\t\t\t\t\t)?\n\t\t\t\t\t\t\t\t\t([^\"]+?)\t\t\t\t\t#
38
+ Link name\n\t\t\t\t\t\t\t\t\t\\s?\t\t\t\t\t\t\t# Optional whitespace\n\t\t\t\t\t\t\t\t\t(?:\\(([^)]+?)\\))?\n\t\t\t\t\t\t\t\t\":\t\t\t\t\t\t\t\t#
39
+ End name\n\t\t\t\t\t\t\t\t(\\w[-\\w_]*)\t\t\t\t\t\t# Linkref\n\t\t\t\t\t\t\t\t(?=[^\\w\\/;]*?(<|\\s|$))\t\t\t#
40
+ Catch closing punctuation\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t# and end of meta.link\n\t\t\t\t\t"
51
41
  - name: meta.link.inline.textile
52
- captures:
53
- "1":
42
+ captures:
43
+ '1':
54
44
  name: string.other.link.title.textile
55
- "2":
45
+ '2':
56
46
  name: string.other.link.description.title.textile
57
- "3":
47
+ '3':
58
48
  name: markup.underline.link.textile
59
- match: "(?x)\n\
60
- \t\t\t\t\t\t\t\t\"\t\t\t\t\t\t\t\t# Start name, etc\n\
61
- \t\t\t\t\t\t\t\t\t(?:\t\t\t\t\t\t\t# Attributes\n\
62
- \t\t\t\t\t\t\t\t\t\t# I swear, this is how the language is defined,\n\
63
- \t\t\t\t\t\t\t\t\t\t# couldnt make it up if I tried.\n\
64
- \t\t\t\t\t\t\t\t\t\t(?:\\([^)]+\\))?(?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?\n\
65
- \t\t\t\t\t\t\t\t\t\t\t# Class, Style, Lang\n\
66
- \t\t\t\t\t\t\t\t\t | (?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?(?:\\([^)]+\\))?\n\
67
- \t\t\t\t\t\t\t\t\t\t\t# Style, Lang, Class\n\
68
- \t\t\t\t\t\t\t\t\t | (?:\\[[^\\]]+\\])?(?:\\{[^}]+\\})?(?:\\([^)]+\\))?\n\
69
- \t\t\t\t\t\t\t\t\t\t\t# Lang, Style, Class\n\
70
- \t\t\t\t\t\t\t\t\t)?\n\
71
- \t\t\t\t\t\t\t\t\t([^\"]+?)\t\t\t\t\t# Link name\n\
72
- \t\t\t\t\t\t\t\t\t\\s?\t\t\t\t\t\t\t# Optional whitespace\n\
73
- \t\t\t\t\t\t\t\t\t(?:\\(([^)]+?)\\))?\n\
74
- \t\t\t\t\t\t\t\t\":\t\t\t\t\t\t\t\t# End Name\n\
75
- \t\t\t\t\t\t\t\t(\\S*?(?:\\w|\\/|;))\t\t\t\t# URL\n\
76
- \t\t\t\t\t\t\t\t(?=[^\\w\\/;]*?(<|\\s|$))\t\t\t# Catch closing punctuation\n\
77
- \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t# and end of meta.link\n\
78
- \t\t\t\t\t"
49
+ match: "(?x)\n\t\t\t\t\t\t\t\t\"\t\t\t\t\t\t\t\t# Start name, etc\n\t\t\t\t\t\t\t\t\t(?:\t\t\t\t\t\t\t#
50
+ Attributes\n\t\t\t\t\t\t\t\t\t\t# I swear, this is how the language is defined,\n\t\t\t\t\t\t\t\t\t\t#
51
+ couldnt make it up if I tried.\n\t\t\t\t\t\t\t\t\t\t(?:\\([^)]+\\))?(?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?\n\t\t\t\t\t\t\t\t\t\t\t#
52
+ Class, Style, Lang\n\t\t\t\t\t\t\t\t\t | (?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?(?:\\([^)]+\\))?\n\t\t\t\t\t\t\t\t\t\t\t#
53
+ Style, Lang, Class\n\t\t\t\t\t\t\t\t\t | (?:\\[[^\\]]+\\])?(?:\\{[^}]+\\})?(?:\\([^)]+\\))?\n\t\t\t\t\t\t\t\t\t\t\t#
54
+ Lang, Style, Class\n\t\t\t\t\t\t\t\t\t)?\n\t\t\t\t\t\t\t\t\t([^\"]+?)\t\t\t\t\t#
55
+ Link name\n\t\t\t\t\t\t\t\t\t\\s?\t\t\t\t\t\t\t# Optional whitespace\n\t\t\t\t\t\t\t\t\t(?:\\(([^)]+?)\\))?\n\t\t\t\t\t\t\t\t\":\t\t\t\t\t\t\t\t#
56
+ End Name\n\t\t\t\t\t\t\t\t(\\S*?(?:\\w|\\/|;))\t\t\t\t# URL\n\t\t\t\t\t\t\t\t(?=[^\\w\\/;]*?(<|\\s|$))\t\t\t#
57
+ Catch closing punctuation\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t# and end of meta.link\n\t\t\t\t\t"
79
58
  - name: meta.image.inline.textile
80
- captures:
81
- "2":
59
+ captures:
60
+ '2':
82
61
  name: markup.underline.link.image.textile
83
- "3":
62
+ '3':
84
63
  name: string.other.link.description.textile
85
- "4":
64
+ '4':
86
65
  name: markup.underline.link.textile
87
- match: "(?x)\n\
88
- \t\t\t\t\t\t\t\t\\!\t\t\t\t\t\t\t\t\t\t# Open image\n\
89
- \t\t\t\t\t\t\t\t(\\<|\\=|\\>)?\t\t\t\t\t\t\t\t# Optional alignment\n\
90
- \t\t\t\t\t\t\t\t(?:\t\t\t\t\t\t\t\t\t\t# Attributes\n\
91
- \t\t\t\t\t\t\t\t\t# I swear, this is how the language is defined,\n\
92
- \t\t\t\t\t\t\t\t\t# couldnt make it up if I tried.\n\
93
- \t\t\t\t\t\t\t\t\t(?:\\([^)]+\\))?(?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?\n\
94
- \t\t\t\t\t\t\t\t\t\t# Class, Style, Lang\n\
95
- \t\t\t\t\t\t\t\t | (?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?(?:\\([^)]+\\))?\n\
96
- \t\t\t\t\t\t\t\t\t\t# Style, Lang, Class\n\
97
- \t\t\t\t\t\t\t\t | (?:\\[[^\\]]+\\])?(?:\\{[^}]+\\})?(?:\\([^)]+\\))?\n\
98
- \t\t\t\t\t\t\t\t\t\t# Lang, Style, Class\n\
99
- \t\t\t\t\t\t\t\t)?\n\
100
- \t\t\t\t\t\t\t\t(?:\\.[ ])? \t\t\t\t\t# Optional\n\
101
- \t\t\t\t\t\t\t\t([^\\s(!]+?) \t\t\t\t\t# Image URL\n\
102
- \t\t\t\t\t\t\t\t\\s? \t\t\t\t\t\t# Optional space\n\
103
- \t\t\t\t\t\t\t\t(?:\\(((?:[^\\(\\)]|\\([^\\)]+\\))+?)\\))? \t# Optional title\n\
104
- \t\t\t\t\t\t\t\t\\!\t\t\t\t\t\t\t\t\t\t# Close image\n\
105
- \t\t\t\t\t\t\t\t(?:\n\
106
- \t\t\t\t\t\t\t\t\t:\n\
107
- \t\t\t\t\t\t\t\t\t(\\S*?(?:\\w|\\/|;))\t\t\t\t\t# URL\n\
108
- \t\t\t\t\t\t\t\t\t(?=[^\\w\\/;]*?(<|\\s|$))\t\t\t\t# Catch closing punctuation\n\
109
- \t\t\t\t\t\t\t\t)?\n\
110
- \t\t\t\t\t"
66
+ match: "(?x)\n\t\t\t\t\t\t\t\t\\!\t\t\t\t\t\t\t\t\t\t# Open image\n\t\t\t\t\t\t\t\t(\\<|\\=|\\>)?\t\t\t\t\t\t\t\t#
67
+ Optional alignment\n\t\t\t\t\t\t\t\t(?:\t\t\t\t\t\t\t\t\t\t# Attributes\n\t\t\t\t\t\t\t\t\t#
68
+ I swear, this is how the language is defined,\n\t\t\t\t\t\t\t\t\t# couldnt
69
+ make it up if I tried.\n\t\t\t\t\t\t\t\t\t(?:\\([^)]+\\))?(?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?\n\t\t\t\t\t\t\t\t\t\t#
70
+ Class, Style, Lang\n\t\t\t\t\t\t\t\t | (?:\\{[^}]+\\})?(?:\\[[^\\]]+\\])?(?:\\([^)]+\\))?\n\t\t\t\t\t\t\t\t\t\t#
71
+ Style, Lang, Class\n\t\t\t\t\t\t\t\t | (?:\\[[^\\]]+\\])?(?:\\{[^}]+\\})?(?:\\([^)]+\\))?\n\t\t\t\t\t\t\t\t\t\t#
72
+ Lang, Style, Class\n\t\t\t\t\t\t\t\t)?\n\t\t\t\t\t\t\t\t(?:\\.[ ])? \t\t\t\t\t#
73
+ Optional\n\t\t\t\t\t\t\t\t([^\\s(!]+?) \t\t\t\t\t# Image URL\n\t\t\t\t\t\t\t\t\\s?
74
+ \ \t\t\t\t\t\t# Optional space\n\t\t\t\t\t\t\t\t(?:\\(((?:[^\\(\\)]|\\([^\\)]+\\))+?)\\))?
75
+ \ \t# Optional title\n\t\t\t\t\t\t\t\t\\!\t\t\t\t\t\t\t\t\t\t# Close image\n\t\t\t\t\t\t\t\t(?:\n\t\t\t\t\t\t\t\t\t:\n\t\t\t\t\t\t\t\t\t(\\S*?(?:\\w|\\/|;))\t\t\t\t\t#
76
+ URL\n\t\t\t\t\t\t\t\t\t(?=[^\\w\\/;]*?(<|\\s|$))\t\t\t\t# Catch closing punctuation\n\t\t\t\t\t\t\t\t)?\n\t\t\t\t\t"
111
77
  - name: markup.other.table.cell.textile
112
- captures:
113
- "1":
78
+ captures:
79
+ '1':
114
80
  name: entity.name.type.textile
115
- match: \|(\([^)]*\)|{[^}]*})*(\\\||.)+\|
81
+ match: "\\|(\\([^)]*\\)|{[^}]*})*(\\\\\\||.)+\\|"
116
82
  - name: markup.bold.textile
117
- captures:
118
- "3":
83
+ captures:
84
+ '3':
119
85
  name: entity.name.type.textile
120
- match: \B(\*\*?)((\([^)]*\)|{[^}]*}|\[[^]]+\]){0,3})(\S.*?\S|\S)\1\B
86
+ match: "\\B(\\*\\*?)((\\([^)]*\\)|{[^}]*}|\\[[^]]+\\]){0,3})(\\S.*?\\S|\\S)\\1\\B"
121
87
  - name: markup.deleted.textile
122
- captures:
123
- "2":
88
+ captures:
89
+ '2':
124
90
  name: entity.name.type.textile
125
- match: \B-((\([^)]*\)|{[^}]*}|\[[^]]+\]){0,3})(\S.*?\S|\S)-\B
91
+ match: "\\B-((\\([^)]*\\)|{[^}]*}|\\[[^]]+\\]){0,3})(\\S.*?\\S|\\S)-\\B"
126
92
  - name: markup.inserted.textile
127
- captures:
128
- "2":
93
+ captures:
94
+ '2':
129
95
  name: entity.name.type.textile
130
- match: \B\+((\([^)]*\)|{[^}]*}|\[[^]]+\]){0,3})(\S.*?\S|\S)\+\B
96
+ match: "\\B\\+((\\([^)]*\\)|{[^}]*}|\\[[^]]+\\]){0,3})(\\S.*?\\S|\\S)\\+\\B"
131
97
  - name: markup.italic.textile
132
- captures:
133
- "2":
98
+ captures:
99
+ '2':
134
100
  name: entity.name.type.textile
135
- match: (?:\b|\s)_((\([^)]*\)|{[^}]*}|\[[^]]+\]){0,3})(\S.*?\S|\S)_(?:\b|\s)
101
+ match: "(?:\\b|\\s)_((\\([^)]*\\)|{[^}]*}|\\[[^]]+\\]){0,3})(\\S.*?\\S|\\S)_(?:\\b|\\s)"
136
102
  - name: markup.italic.phrasemodifiers.textile
137
- captures:
138
- "3":
103
+ captures:
104
+ '3':
139
105
  name: entity.name.type.textile
140
- match: \B([@\^~%]|\?\?)((\([^)]*\)|{[^}]*}|\[[^]]+\]){0,3})(\S.*?\S|\S)\1
106
+ match: "\\B([@\\^~%]|\\?\\?)((\\([^)]*\\)|{[^}]*}|\\[[^]]+\\]){0,3})(\\S.*?\\S|\\S)\\1"
141
107
  - name: entity.name.tag.textile
142
- match: (?<!w)\[[0-9+]\]
108
+ match: "(?<!w)\\[[0-9+]\\]"
143
109
  comment: Footnotes
144
110
  uuid: 68F0B1A5-3274-4E85-8B3A-A481C5F5B194
145
- patterns:
111
+ patterns:
146
112
  - name: markup.heading.textile
147
- captures:
148
- "1":
113
+ captures:
114
+ '1':
149
115
  name: entity.name.tag.heading.textile
150
- "3":
116
+ '3':
151
117
  name: entity.name.type.textile
152
- "4":
118
+ '4':
153
119
  name: entity.name.tag.heading.textile
154
- begin: (^h[1-6]([<>=()]+)?)(\([^)]*\)|{[^}]*})*(\.)
155
- end: ^$
156
- patterns:
120
+ begin: "(^h[1-6]([<>=()]+)?)(\\([^)]*\\)|{[^}]*})*(\\.)"
121
+ end: "^$"
122
+ patterns:
157
123
  - include: "#inline"
158
124
  - include: text.html.basic
159
125
  - name: markup.quote.textile
160
- captures:
161
- "1":
126
+ captures:
127
+ '1':
162
128
  name: entity.name.tag.blockquote.textile
163
- "3":
129
+ '3':
164
130
  name: entity.name.type.textile
165
- "4":
131
+ '4':
166
132
  name: entity.name.tag.blockquote.textile
167
- begin: (^bq([<>=()]+)?)(\([^)]*\)|{[^}]*})*(\.)
168
- end: ^$
169
- patterns:
133
+ begin: "(^bq([<>=()]+)?)(\\([^)]*\\)|{[^}]*})*(\\.)"
134
+ end: "^$"
135
+ patterns:
170
136
  - include: "#inline"
171
137
  - include: text.html.basic
172
138
  - name: markup.other.footnote.textile
173
- captures:
174
- "1":
139
+ captures:
140
+ '1':
175
141
  name: entity.name.tag.footnote.textile
176
- "3":
142
+ '3':
177
143
  name: entity.name.type.textile
178
- "4":
144
+ '4':
179
145
  name: entity.name.tag.footnote.textile
180
- begin: (^fn[0-9]+([<>=()]+)?)(\([^)]*\)|{[^}]*})*(\.)
181
- end: ^$
182
- patterns:
146
+ begin: "(^fn[0-9]+([<>=()]+)?)(\\([^)]*\\)|{[^}]*})*(\\.)"
147
+ end: "^$"
148
+ patterns:
183
149
  - include: "#inline"
184
150
  - include: text.html.basic
185
151
  - name: markup.other.table.textile
186
- captures:
187
- "1":
152
+ captures:
153
+ '1':
188
154
  name: entity.name.tag.footnote.textile
189
- "3":
155
+ '3':
190
156
  name: entity.name.type.textile
191
- "4":
157
+ '4':
192
158
  name: entity.name.tag.footnote.textile
193
- begin: (^table([<>=()]+)?)(\([^)]*\)|{[^}]*})*(\.)
194
- end: ^$
195
- patterns:
159
+ begin: "(^table([<>=()]+)?)(\\([^)]*\\)|{[^}]*})*(\\.)"
160
+ end: "^$"
161
+ patterns:
196
162
  - include: "#inline"
197
163
  - include: text.html.basic
198
164
  - name: meta.paragraph.textile
199
- begin: ^(?=\S)
200
- end: ^$
201
- patterns:
165
+ begin: "^(?=\\S)"
166
+ end: "^$"
167
+ patterns:
202
168
  - name: entity.name.section.paragraph.textile
203
- captures:
204
- "1":
169
+ captures:
170
+ '1':
205
171
  name: entity.name.tag.paragraph.textile
206
- "3":
172
+ '3':
207
173
  name: entity.name.type.textile
208
- "4":
174
+ '4':
209
175
  name: entity.name.tag.paragraph.textile
210
- match: (^p([<>=()]+)?)(\([^)]*\)|{[^}]*})*(\.)
176
+ match: "(^p([<>=()]+)?)(\\([^)]*\\)|{[^}]*})*(\\.)"
211
177
  - include: "#inline"
212
178
  - include: text.html.basic
213
179
  - include: text.html.basic
214
180
  comment: Since html is valid in Textile include the html patterns
215
- keyEquivalent: ^~T
181
+ keyEquivalent: "^~T"
@@ -1,50 +1,48 @@
1
- ---
1
+ ---
2
2
  name: TSV
3
- fileTypes:
3
+ fileTypes:
4
4
  - tsv
5
5
  scopeName: text.tabular.tsv
6
- repository:
7
- row:
6
+ repository:
7
+ row:
8
8
  name: meta.tabular.row.tsv
9
- begin: ^(?!$)
10
- end: $
11
- patterns:
9
+ begin: "^(?!$)"
10
+ end: "$"
11
+ patterns:
12
12
  - include: "#field"
13
- field:
14
- patterns:
15
- - endCaptures:
16
- "1":
13
+ field:
14
+ patterns:
15
+ - endCaptures:
16
+ '1':
17
17
  name: punctuation.separator.tabular.field.tsv
18
- begin: (:^|(?<=\t))(?!$|\t)
18
+ begin: "(:^|(?<=\\t))(?!$|\\t)"
19
19
  contentName: meta.tabular.field.tsv
20
- end: $|(\t)
20
+ end: "$|(\\t)"
21
21
  - name: punctuation.separator.tabular.field.tsv
22
- match: \t
23
- header:
22
+ match: "\\t"
23
+ header:
24
24
  name: meta.tabular.row.header.tsv
25
- begin: ^(?!$)
26
- end: $
27
- patterns:
25
+ begin: "^(?!$)"
26
+ end: "$"
27
+ patterns:
28
28
  - include: "#field"
29
- table:
29
+ table:
30
30
  name: meta.tabular.table.tsv
31
- begin: ^
32
- end: ^$not possible$^
33
- patterns:
31
+ begin: "^"
32
+ end: "^$not possible$^"
33
+ patterns:
34
34
  - include: "#header"
35
- - begin: (\n)
36
- beginCaptures:
37
- "1":
35
+ - begin: "(\\n)"
36
+ beginCaptures:
37
+ '1':
38
38
  name: punctuation.separator.table.row.tsv
39
- end: ^$not possible$^
40
- patterns:
39
+ end: "^$not possible$^"
40
+ patterns:
41
41
  - include: "#row"
42
42
  - name: punctuation.separator.table.row.tsv
43
- match: \n
44
- comment: "\n\
45
- \t\t\t\t\t\teverything after the first row is not a header\n\
46
- \t\t\t\t\t"
43
+ match: "\\n"
44
+ comment: "\n\t\t\t\t\t\teverything after the first row is not a header\n\t\t\t\t\t"
47
45
  uuid: 7D87F38B-A972-4F61-B9C0-7D6D15EEED38
48
- patterns:
46
+ patterns:
49
47
  - include: "#table"
50
- keyEquivalent: ^~T
48
+ keyEquivalent: "^~T"
@@ -1,241 +1,241 @@
1
- ---
1
+ ---
2
2
  name: Twiki
3
3
  scopeName: text.html.twiki
4
- repository:
5
- list-paragraph:
6
- patterns:
4
+ repository:
5
+ list-paragraph:
6
+ patterns:
7
7
  - name: markup.list.unnumbered.paragraph
8
- begin: \G\s+\S
9
- end: ^\s*$
10
- patterns:
8
+ begin: "\\G\\s+\\S"
9
+ end: "^\\s*$"
10
+ patterns:
11
11
  - include: "#inline"
12
12
  - include: text.html.basic
13
- inline:
14
- patterns:
13
+ inline:
14
+ patterns:
15
15
  - name: markup.bold.twiki
16
- captures:
17
- "1":
16
+ captures:
17
+ '1':
18
18
  name: punctuation.definition.bold.twiki
19
- "2":
19
+ '2':
20
20
  name: punctuation.definition.bold.twiki
21
- match: ([\*])[\s\w :.\?']*([\*])
22
- - captures:
23
- "6":
21
+ match: "([\\*])[\\s\\w :.\\?']*([\\*])"
22
+ - captures:
23
+ '6':
24
24
  name: punctuation.definition.italic.twiki
25
- "1":
25
+ '1':
26
26
  name: markup.bold.twiki
27
- "2":
27
+ '2':
28
28
  name: markup.italic.twiki
29
- "3":
29
+ '3':
30
30
  name: punctuation.definition.bold.twiki
31
- "4":
31
+ '4':
32
32
  name: punctuation.definition.italic.twiki
33
- "5":
33
+ '5':
34
34
  name: punctuation.definition.bold.twiki
35
- match: ((((__))[\s\w :.\?']*((__))))
35
+ match: "((((__))[\\s\\w :.\\?']*((__))))"
36
36
  - name: markup.italic.twiki
37
- captures:
38
- "1":
37
+ captures:
38
+ '1':
39
39
  name: punctuation.definition.italic.twiki
40
- "2":
40
+ '2':
41
41
  name: punctuation.definition.italic.twiki
42
- match: \b(_)[\s\w :.\?']*(_)\b
43
- - captures:
44
- "6":
42
+ match: "\\b(_)[\\s\\w :.\\?']*(_)\\b"
43
+ - captures:
44
+ '6':
45
45
  name: punctuation.definition.raw.fixed.twiki
46
- "1":
46
+ '1':
47
47
  name: markup.bold.twiki
48
- "2":
48
+ '2':
49
49
  name: markup.raw.fixed.twiki
50
- "3":
50
+ '3':
51
51
  name: punctuation.definition.bold.twiki
52
- "4":
52
+ '4':
53
53
  name: punctuation.definition.raw.fixed.twiki
54
- "5":
54
+ '5':
55
55
  name: punctuation.definition.bold.twiki
56
- match: ((((\=\=))[\s\w :.\?']*((\=\=))))
56
+ match: "((((\\=\\=))[\\s\\w :.\\?']*((\\=\\=))))"
57
57
  - name: markup.raw.fixed.twiki
58
- captures:
59
- "1":
58
+ captures:
59
+ '1':
60
60
  name: punctuation.definition.raw.fixed.twiki
61
- "2":
61
+ '2':
62
62
  name: punctuation.definition.raw.fixed.twiki
63
- match: (\=)[\s\w :.\?']*(\=)
63
+ match: "(\\=)[\\s\\w :.\\?']*(\\=)"
64
64
  - name: variable.other.twiki
65
- captures:
66
- "1":
65
+ captures:
66
+ '1':
67
67
  name: punctuation.definition.variable.twiki
68
- "3":
68
+ '3':
69
69
  name: punctuation.definition.variable.twiki
70
- match: (%)([A-Z0-9]+)(%)
70
+ match: "(%)([A-Z0-9]+)(%)"
71
71
  - name: constant.character.entity.html
72
- captures:
73
- "1":
72
+ captures:
73
+ '1':
74
74
  name: punctuation.definition.constant.twiki
75
- "3":
75
+ '3':
76
76
  name: punctuation.definition.constant.twiki
77
- match: (&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)
77
+ match: "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)"
78
78
  - name: meta.link.inline
79
- captures:
80
- "6":
79
+ captures:
80
+ '6':
81
81
  name: punctuation.definition.link.twiki
82
- "1":
82
+ '1':
83
83
  name: punctuation.definition.link.twiki
84
- "2":
84
+ '2':
85
85
  name: markup.underline.link.twiki
86
- "3":
86
+ '3':
87
87
  name: punctuation.definition.link.twiki
88
- "4":
88
+ '4':
89
89
  name: punctuation.definition.link.twiki
90
- "5":
90
+ '5':
91
91
  name: string.other.link.title.twiki
92
- match: (\[)([^]]*)(\]) *(\[)(.*?)(\])
93
- numlist-paragraph:
94
- patterns:
92
+ match: "(\\[)([^]]*)(\\]) *(\\[)(.*?)(\\])"
93
+ numlist-paragraph:
94
+ patterns:
95
95
  - name: markup.list.numbered.paragraph
96
- begin: \G\s+\S
97
- end: ^\s*$
98
- patterns:
96
+ begin: "\\G\\s+\\S"
97
+ end: "^\\s*$"
98
+ patterns:
99
99
  - include: "#inline"
100
100
  - include: text.html.basic
101
101
  uuid: B2FD7223-BE64-4134-B43D-F7443EA54CCD
102
- patterns:
102
+ patterns:
103
103
  - name: string.quoted.double.twiki
104
- endCaptures:
105
- "0":
104
+ endCaptures:
105
+ '0':
106
106
  name: punctuation.definition.string.end.twiki
107
107
  begin: "\""
108
- beginCaptures:
109
- "0":
108
+ beginCaptures:
109
+ '0':
110
110
  name: punctuation.definition.string.begin.twiki
111
111
  end: "\""
112
- patterns:
112
+ patterns:
113
113
  - name: constant.character.escape.twiki
114
- match: \\.
114
+ match: "\\\\."
115
115
  - name: markup.heading.twiki
116
- captures:
117
- "1":
116
+ captures:
117
+ '1':
118
118
  name: punctuation.definition.heading.twiki
119
- "2":
119
+ '2':
120
120
  name: entity.name.function.twiki
121
- match: ^(-{3}\+{1,6})(.*)$
121
+ match: "^(-{3}\\+{1,6})(.*)$"
122
122
  - name: markup.raw.twiki
123
- captures:
124
- "1":
123
+ captures:
124
+ '1':
125
125
  name: punctuation.definition.tag.twiki
126
- "2":
126
+ '2':
127
127
  name: punctuation.definition.tag.twiki
128
- "3":
128
+ '3':
129
129
  name: punctuation.definition.tag.twiki
130
- "4":
130
+ '4':
131
131
  name: punctuation.definition.tag.twiki
132
- begin: (<)verbatim(>)|(<)pre(>)
133
- end: (</)verbatim(>)|(</)pre(>)
134
- patterns:
132
+ begin: "(<)verbatim(>)|(<)pre(>)"
133
+ end: "(</)verbatim(>)|(</)pre(>)"
134
+ patterns:
135
135
  - name: constant.character.escape.twiki
136
- match: \\.
136
+ match: "\\\\."
137
137
  - name: meta.separator.twiki
138
- match: ^-{3,}$\n
138
+ match: "^-{3,}$\\n"
139
139
  - name: markup.other.def.twiki
140
- captures:
141
- "1":
140
+ captures:
141
+ '1':
142
142
  name: markup.other.def.term.twiki
143
- "2":
143
+ '2':
144
144
  name: markup.other.def.def.twiki
145
145
  begin: "^ {3}([a-zA-Z0-9]+: )"
146
- end: $\n?
147
- patterns:
146
+ end: "$\\n?"
147
+ patterns:
148
148
  - include: "#list-paragraph"
149
149
  - name: markup.other.table.twiki
150
- begin: ^(\|)
151
- beginCaptures:
152
- "1":
150
+ begin: "^(\\|)"
151
+ beginCaptures:
152
+ '1':
153
153
  name: punctuation.definition.table.twiki
154
- end: ^(?:\s*$|(?=\s*>|[=-]{3,}$))
155
- patterns:
154
+ end: "^(?:\\s*$|(?=\\s*>|[=-]{3,}$))"
155
+ patterns:
156
156
  - include: "#inline"
157
157
  - name: markup.list.unnumbered.1.twiki
158
- begin: ^ {3}(\*)
159
- beginCaptures:
160
- "1":
158
+ begin: "^ {3}(\\*)"
159
+ beginCaptures:
160
+ '1':
161
161
  name: punctuation.definition.list_item.twiki
162
- end: $\n?
163
- patterns:
162
+ end: "$\\n?"
163
+ patterns:
164
164
  - include: "#list-paragraph"
165
165
  - name: markup.list.unnumbered.2.twiki
166
- begin: ^ {6}(\*)
167
- beginCaptures:
168
- "1":
166
+ begin: "^ {6}(\\*)"
167
+ beginCaptures:
168
+ '1':
169
169
  name: punctuation.definition.list_item.twiki
170
- end: $\n?
171
- patterns:
170
+ end: "$\\n?"
171
+ patterns:
172
172
  - include: "#list-paragraph"
173
173
  - name: markup.list.unnumbered.3.twiki
174
- begin: ^ {9}(\*)
175
- beginCaptures:
176
- "1":
174
+ begin: "^ {9}(\\*)"
175
+ beginCaptures:
176
+ '1':
177
177
  name: punctuation.definition.list_item.twiki
178
- end: $\n?
179
- patterns:
178
+ end: "$\\n?"
179
+ patterns:
180
180
  - include: "#list-paragraph"
181
181
  - name: markup.list.unnumbered.4.twiki
182
- begin: ^ {12}(\*)
183
- beginCaptures:
184
- "1":
182
+ begin: "^ {12}(\\*)"
183
+ beginCaptures:
184
+ '1':
185
185
  name: punctuation.definition.list_item.twiki
186
- end: $\n?
187
- patterns:
186
+ end: "$\\n?"
187
+ patterns:
188
188
  - include: "#list-paragraph"
189
189
  - name: markup.list.unnumbered.5.twiki
190
- begin: ^ {15}(\*)
191
- beginCaptures:
192
- "1":
190
+ begin: "^ {15}(\\*)"
191
+ beginCaptures:
192
+ '1':
193
193
  name: punctuation.definition.list_item.twiki
194
- end: $\n?
195
- patterns:
194
+ end: "$\\n?"
195
+ patterns:
196
196
  - include: "#list-paragraph"
197
197
  - name: markup.list.unnumbered.6.twiki
198
- begin: ^ {18}(\*)
199
- beginCaptures:
200
- "1":
198
+ begin: "^ {18}(\\*)"
199
+ beginCaptures:
200
+ '1':
201
201
  name: punctuation.definition.list_item.twiki
202
- end: $\n?
203
- patterns:
202
+ end: "$\\n?"
203
+ patterns:
204
204
  - include: "#list-paragraph"
205
205
  - name: markup.list.numbered.1.twiki
206
- begin: ^ {3}\d
207
- end: $\n?
208
- patterns:
206
+ begin: "^ {3}\\d"
207
+ end: "$\\n?"
208
+ patterns:
209
209
  - include: "#numlist-paragraph"
210
210
  - name: markup.list.numbered.2.twiki
211
- begin: ^ {6}\d
212
- end: $\n?
213
- patterns:
211
+ begin: "^ {6}\\d"
212
+ end: "$\\n?"
213
+ patterns:
214
214
  - include: "#numlist-paragraph"
215
215
  - name: markup.list.numbered.3.twiki
216
- begin: ^ {9}\d
217
- end: $\n?
218
- patterns:
216
+ begin: "^ {9}\\d"
217
+ end: "$\\n?"
218
+ patterns:
219
219
  - include: "#numlist-paragraph"
220
220
  - name: markup.list.numbered.4.twiki
221
- begin: ^ {12}\d
222
- end: $\n?
223
- patterns:
221
+ begin: "^ {12}\\d"
222
+ end: "$\\n?"
223
+ patterns:
224
224
  - include: "#numlist-paragraph"
225
225
  - name: markup.list.numbered.5.twiki
226
- begin: ^ {15}\d
227
- end: $\n?
228
- patterns:
226
+ begin: "^ {15}\\d"
227
+ end: "$\\n?"
228
+ patterns:
229
229
  - include: "#numlist-paragraph"
230
230
  - name: markup.list.numbered.6.twiki
231
- begin: ^ {18}\d
232
- end: $\n?
233
- patterns:
231
+ begin: "^ {18}\\d"
232
+ end: "$\\n?"
233
+ patterns:
234
234
  - include: "#numlist-paragraph"
235
235
  - name: meta.paragraph.twiki
236
- begin: ^(?=\S)
237
- end: ^\s*$
238
- patterns:
236
+ begin: "^(?=\\S)"
237
+ end: "^\\s*$"
238
+ patterns:
239
239
  - include: "#inline"
240
240
  - include: text.html.basic
241
- keyEquivalent: ^~T
241
+ keyEquivalent: "^~T"