@@ -252,11 +252,13 @@ contexts:
252252 - comment : " this is a \" comment"
253253# ^^^^^^^^^^^^^^^^^^^^^ comment.other.quoted.double.sublime-syntax
254254# ^ punctuation.definition.string.begin.yaml
255+ # ^^ constant.character.escape.yaml
255256# ^ punctuation.definition.string.end.yaml
256257
257258 comment : ' this is a '' comment'
258259# ^^^^^^^^^^^^^^^^^^^^^ comment.other.quoted.single.sublime-syntax
259260# ^ punctuation.definition.string.begin.yaml
261+ # ^^ constant.character.escape.yaml
260262# ^ punctuation.definition.string.end.yaml
261263
262264 - comment : |-
@@ -288,6 +290,61 @@ contexts:
288290 (?x) # extended group with comments
289291# ^^^^ source.regexp.oniguruma meta.group.extended.regexp
290292# ^ source.regexp.oniguruma comment.line.number-sign.regexp punctuation.definition.comment.regexp
293+
294+ - match : " (?=\0 )"
295+ # ^^ constant.character.escape.yaml
296+ - match : " (?=\a )"
297+ # ^^ constant.character.escape.yaml
298+ - match : " (?=\b )"
299+ # ^^ constant.character.escape.yaml
300+ - match : " (?=\t )"
301+ # ^^ constant.character.escape.yaml
302+ - match : " (?=\n )"
303+ # ^^ constant.character.escape.yaml
304+ - match : " (?=\v )"
305+ # ^^ constant.character.escape.yaml
306+ - match : " (?=\f )"
307+ # ^^ constant.character.escape.yaml
308+ - match : " (?=\r )"
309+ # ^^ constant.character.escape.yaml
310+ - match : " (?=\e )"
311+ # ^^ constant.character.escape.yaml
312+ - match : " (?=\ )"
313+ # ^^ constant.character.escape.yaml
314+ - match : " (?=\" )"
315+ # ^^ constant.character.escape.yaml
316+ - match : " (?=\/ )"
317+ # ^^ constant.character.escape.yaml
318+ - match : " (?=\\ )"
319+ # ^^ constant.character.escape.yaml
320+ - match : " (?=\N )"
321+ # ^^ constant.character.escape.yaml
322+ - match : " (?=\_ )"
323+ # ^^ constant.character.escape.yaml
324+ - match : " (?=\L )"
325+ # ^^ constant.character.escape.yaml
326+ - match : " (?=\P )"
327+ # ^^ constant.character.escape.yaml
328+ - match : " (?=\ )"
329+ # ^^ constant.character.escape.yaml
330+ - match : " (?=\ )"
331+ # ^^ constant.character.escape.yaml
332+ - match : " (?=\ )"
333+ # ^^ constant.character.escape.yaml
334+ - match : " (?=\' )"
335+ # ^^ invalid.illegal.escape.yaml
336+ - match : " (?=\m )"
337+ # ^^ invalid.illegal.escape.yaml
338+ - match : " (?=\x12 34)"
339+ # ^^^^ constant.character.escape.unicode.8bit.yaml
340+ # ^^ - constant.character.escape
341+ - match : " (?=\u123f d)"
342+ # ^^^^^^ constant.character.escape.unicode.16bit.yaml
343+ # ^ - constant.character.escape
344+ - match : " (?=\U123fda3f 2)"
345+ # ^^^^^^^^^^ constant.character.escape.unicode.32bit.yaml
346+ # ^ - constant.character.escape
347+
291348 - scope : abc
292349# ^^^^^ string.unquoted.plain.out.yaml storage.type.scope-name.sublime-syntax
293350 - meta_scope : abc
0 commit comments