{"name":"Regular Expressions in Raku","scopeName":"source.regexp.raku","patterns":[{"include":"#regexp"}],"repository":{"re_strings":{"patterns":[{"name":"string.literal.raku","begin":"(?\u003c!\\\\)\\'","end":"(?\u003c=\\\\\\\\)\\'|(?\u003c!\\\\)\\'"},{"name":"string.literal.raku","begin":"(?\u003c!\\\\)‘","end":"(?\u003c=\\\\\\\\)\\’|(?\u003c!\\\\)’","patterns":[{"include":"source.raku#q_left_single_right_single_string_content"}]},{"name":"string.literal.raku","begin":"(?\u003c!\\\\)\\\"","end":"(?\u003c=\\\\\\\\)\\\"|(?\u003c!\\\\)\\\""}]},"regexp":{"patterns":[{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.raku","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.raku"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.raku"}}},{"include":"#re_strings"},{"name":"constant.character.escape.class.regexp.raku","match":"\\\\[dDhHnNsStTvVwW]"},{"name":"entity.name.section.adverb.raku","match":":\\w+"},{"name":"entity.name.section.boundary.regexp.raku","match":"\\^\\^|(?\u003c!\\.)\\^(?!\\.)|\\$\\$|\\$(?!\\d|\u003c)|\u003c\u003c|\u003e\u003e"},{"name":"keyword.other.special-method.match.variable.numbered.perlt6e","match":"(?\u003c!\\\\)\\$\\d"},{"name":"meta.match.variable.raku","match":"(\\$)(\\\u003c)(\\w+)(\\\u003e)\\s*(=)","captures":{"1":{"name":"variable.other.identifier.sigil.regexp.perl6"},"2":{"name":"support.class.match.name.delimiter.regexp.raku"},"3":{"name":"variable.other.identifier.regexp.perl6"},"4":{"name":"support.class.match.name.delimiter.regexp.raku"},"5":{"name":"storage.modifier.match.assignment.regexp.raku"}}},{"name":"meta.interpolation.raku","begin":"(\\\u003c(?:\\?|\\!)\\{)","end":"(\\}\\\u003e)","patterns":[{"include":"source.raku"}],"beginCaptures":{"1":{"name":"punctuation.section.embedded.begin.raku"}},"endCaptures":{"1":{"name":"punctuation.section.embedded.end.raku"}}},{"name":"keyword.operator.capture.marker.regexp.raku","match":"\u003c\\(|\\)\u003e"},{"name":"meta.property.regexp.raku","begin":"(?!\\\\)\u003c","end":"\u003e","patterns":[{"include":"#re_strings"},{"name":"meta.assertion.lookaround.raku","begin":"(\\?|\\!)(before|after)\\s+","end":"(?=\u003e)","patterns":[{"include":"#regexp"}],"beginCaptures":{"1":{"name":"keyword.operator.negativity.raku"},"2":{"name":"entity.name.section.assertion.raku"}}},{"name":"meta.capture.assignment.raku","match":"(\\w+)(=)","captures":{"1":{"name":"entity.name.function.capturename.raku"},"2":{"name":"storage.modifier.capture.assignment.raku"}}},{"name":"meta.property.name.regexp.raku","match":"(:)(\\w+)","captures":{"1":{"name":"punctuation.definition.property.regexp.raku"},"2":{"name":"variable.other.identifier.property.regexp.raku"}}},{"name":"keyword.operator.property.regexp.raku","match":"[+|\u0026\\-^]"},{"contentName":"constant.character.custom.property.regexp.raku","begin":"\\[","end":"\\]","patterns":[{"include":"source.raku#hex_escapes"},{"name":"constant.character.custom.property.regexp.raku","match":"(?\u003c!\\\\)\\\\\\]"}],"beginCaptures":{"0":{"name":"keyword.operator.charclass.open.regexp.raku"}},"endCaptures":{"0":{"name":"keyword.operator.charclass.close.regexp.raku"}}},{"name":"comment.suppressed.capture.property.regexp.raku","match":"\\.\\w+\\b"},{"name":"variable.other.identifier.regexname.raku","match":"\\b\\w+\\b"},{"name":"meta.rule.signature.raku","begin":"(?\u003c=\\w)\\(","end":"\\)","patterns":[{"include":"source.raku"}]}],"beginCaptures":{"0":{"name":"punctuation.delimiter.property.regexp.raku"}},"endCaptures":{"0":{"name":"punctuation.delimiter.property.regexp.raku"}}},{"name":"variable.other.identifier.whatever.regexp.raku","match":"(?\u003c=\\.\\.)\\*"},{"name":"keyword.operator.quantifiers.regexp.raku","match":"\\+|\\*\\*|\\*|\\?|%|\\.\\.|\\.|(?\u003c=\\.\\.|\\s|\\d)\\^"},{"name":"support.function.alternation.regexp.raku","match":"(?\u003c!\\\\)\\|{1,2}"}]}}}