File tree Expand file tree Collapse file tree 1 file changed +73
-1
lines changed Expand file tree Collapse file tree 1 file changed +73
-1
lines changed Original file line number Diff line number Diff line change 367367 </dict >
368368 <dict >
369369 <key >include </key >
370- <string >#puppet-datatypes </string >
370+ <string >#heredoc </string >
371371 </dict >
372372 <dict >
373373 <key >include </key >
374374 <string >#strings </string >
375375 </dict >
376+ <dict >
377+ <key >include </key >
378+ <string >#puppet-datatypes </string >
379+ </dict >
376380 <dict >
377381 <key >include </key >
378382 <string >#array </string >
11081112 <key >comment </key >
11091113 <string >Puppet Regular expression literal without interpolation </string >
11101114 </dict >
1115+ <!-- Ref: https://puppet.com/docs/puppet/latest/lang_variables.html#regular-expressions-for-variable-names -->
1116+ <key >heredoc </key >
1117+ <dict >
1118+ <key >patterns </key >
1119+ <array >
1120+ <!-- Heredoc with interpolation e.g. @( END : abc / ts ) -->
1121+ <dict >
1122+ <key >begin </key >
1123+ <string >@\([[:blank:]]*"([^:\/) \t]+)"[[:blank:]]*(:[[:blank:]]*[a-z][a-zA-Z0-9_+]*[[:blank:]]*)?(\/[[:blank:]]*[tsrnL$]*)?[[:blank:]]*\) </string >
1124+ <key >beginCaptures </key >
1125+ <dict >
1126+ <key >0 </key >
1127+ <dict >
1128+ <key >name </key >
1129+ <string >punctuation.definition.string.begin.puppet </string >
1130+ </dict >
1131+ </dict >
1132+ <key >end </key >
1133+ <string >^[[:blank:]]*(\|-|\||-)?[[:blank:]]*\1 </string >
1134+ <key >endCaptures </key >
1135+ <dict >
1136+ <key >0 </key >
1137+ <dict >
1138+ <key >name </key >
1139+ <string >punctuation.definition.string.end.puppet </string >
1140+ </dict >
1141+ </dict >
1142+ <key >name </key >
1143+ <string >string.interpolated.heredoc.puppet </string >
1144+ <key >patterns </key >
1145+ <array >
1146+ <dict >
1147+ <key >include </key >
1148+ <string >#escaped_char </string >
1149+ </dict >
1150+ <dict >
1151+ <key >include </key >
1152+ <string >#interpolated_puppet </string >
1153+ </dict >
1154+ </array >
1155+ </dict >
1156+ <!-- Heredoc without interpolation e.g. @( END : abc / ts ) -->
1157+ <dict >
1158+ <key >begin </key >
1159+ <string >@\([[:blank:]]*([^:\/) \t]+)[[:blank:]]*(:[[:blank:]]*[a-z][a-zA-Z0-9_+]*[[:blank:]]*)?(\/[[:blank:]]*[tsrnL$]*)?[[:blank:]]*\) </string >
1160+ <key >beginCaptures </key >
1161+ <dict >
1162+ <key >0 </key >
1163+ <dict >
1164+ <key >name </key >
1165+ <string >punctuation.definition.string.begin.puppet </string >
1166+ </dict >
1167+ </dict >
1168+ <key >end </key >
1169+ <string >^[[:blank:]]*(\|-|\||-)?[[:blank:]]*\1 </string >
1170+ <key >endCaptures </key >
1171+ <dict >
1172+ <key >0 </key >
1173+ <dict >
1174+ <key >name </key >
1175+ <string >punctuation.definition.string.end.puppet </string >
1176+ </dict >
1177+ </dict >
1178+ <key >name </key >
1179+ <string >string.unquoted.heredoc.puppet </string >
1180+ </dict >
1181+ </array >
1182+ </dict >
11111183 </dict >
11121184</dict >
11131185</plist >
You can’t perform that action at this time.
0 commit comments