@shikijs/langs 2.3.1 → 2.4.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.
- package/dist/actionscript-3.mjs +1 -1
- package/dist/applescript.mjs +1 -1
- package/dist/ara.mjs +1 -1
- package/dist/asciidoc.mjs +1 -1
- package/dist/beancount.mjs +1 -1
- package/dist/bsl.mjs +1 -1
- package/dist/cadence.mjs +1 -1
- package/dist/clarity.mjs +1 -1
- package/dist/cmake.mjs +1 -1
- package/dist/cobol.mjs +1 -1
- package/dist/coq.mjs +1 -1
- package/dist/crystal.mjs +1 -1
- package/dist/cypher.mjs +1 -1
- package/dist/dax.mjs +1 -1
- package/dist/diff.mjs +1 -1
- package/dist/docker.mjs +1 -1
- package/dist/dotenv.mjs +1 -1
- package/dist/dream-maker.mjs +1 -1
- package/dist/elixir.mjs +1 -1
- package/dist/elm.mjs +1 -1
- package/dist/erlang.mjs +1 -1
- package/dist/fish.mjs +1 -1
- package/dist/fortran-free-form.mjs +1 -1
- package/dist/fsharp.mjs +1 -1
- package/dist/gdresource.mjs +1 -1
- package/dist/gdscript.mjs +1 -1
- package/dist/git-commit.mjs +1 -1
- package/dist/go.mjs +1 -1
- package/dist/graphql.mjs +1 -1
- package/dist/groovy.mjs +1 -1
- package/dist/hack.mjs +1 -1
- package/dist/haml.mjs +1 -1
- package/dist/haskell.mjs +1 -1
- package/dist/hcl.mjs +1 -1
- package/dist/html.mjs +1 -1
- package/dist/json.mjs +1 -1
- package/dist/json5.mjs +1 -1
- package/dist/jsonc.mjs +1 -1
- package/dist/jsonl.mjs +1 -1
- package/dist/jssm.mjs +1 -1
- package/dist/julia.mjs +1 -1
- package/dist/kusto.mjs +1 -1
- package/dist/latex.mjs +1 -1
- package/dist/less.mjs +1 -1
- package/dist/markdown.mjs +1 -1
- package/dist/marko.mjs +1 -1
- package/dist/matlab.mjs +1 -1
- package/dist/mermaid.mjs +1 -1
- package/dist/mipsasm.mjs +1 -1
- package/dist/mojo.mjs +1 -1
- package/dist/move.mjs +1 -1
- package/dist/nim.mjs +1 -1
- package/dist/nushell.mjs +1 -1
- package/dist/objective-c.mjs +1 -1
- package/dist/objective-cpp.mjs +1 -1
- package/dist/perl.mjs +1 -1
- package/dist/po.mjs +1 -1
- package/dist/polar.mjs +1 -1
- package/dist/powershell.mjs +1 -1
- package/dist/pug.mjs +1 -1
- package/dist/puppet.mjs +1 -1
- package/dist/python.mjs +1 -1
- package/dist/regexp.mjs +1 -1
- package/dist/riscv.mjs +1 -1
- package/dist/ruby.mjs +1 -1
- package/dist/rust.mjs +1 -1
- package/dist/sas.mjs +1 -1
- package/dist/scala.mjs +1 -1
- package/dist/scheme.mjs +1 -1
- package/dist/sdbl.mjs +1 -1
- package/dist/shellscript.mjs +1 -1
- package/dist/smalltalk.mjs +1 -1
- package/dist/splunk.mjs +1 -1
- package/dist/sql.mjs +1 -1
- package/dist/stata.mjs +1 -1
- package/dist/stylus.mjs +1 -1
- package/dist/talonscript.mjs +1 -1
- package/dist/tcl.mjs +1 -1
- package/dist/terraform.mjs +1 -1
- package/dist/toml.mjs +1 -1
- package/dist/twig.mjs +1 -1
- package/dist/typst.mjs +1 -1
- package/dist/vue.mjs +1 -1
- package/dist/vyper.mjs +1 -1
- package/dist/wasm.mjs +1 -1
- package/dist/wgsl.mjs +1 -1
- package/dist/zenscript.mjs +1 -1
- package/dist/zig.mjs +1 -1
- package/package.json +3 -3
package/dist/perl.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import css from './css.mjs'
|
|
|
4
4
|
import javascript from './javascript.mjs'
|
|
5
5
|
import sql from './sql.mjs'
|
|
6
6
|
|
|
7
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Perl\",\"name\":\"perl\",\"patterns\":[{\"include\":\"#line_comment\"},{\"begin\":\"^(?==[a-zA-Z]+)\",\"end\":\"^(=cut\\\\b.*$)\",\"endCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#pod\"}]}},\"name\":\"comment.block.documentation.perl\",\"patterns\":[{\"include\":\"#pod\"}]},{\"include\":\"#variable\"},{\"applyEndPatternLast\":1,\"begin\":\"\\\\b(?=qr\\\\s*[^\\\\s\\\\w])\",\"comment\":\"string.regexp.compile.perl\",\"end\":\"((([egimosxradlupcn]*)))(?=(\\\\s+\\\\S|\\\\s*[;\\\\,\\\\#\\\\{\\\\}\\\\)]|\\\\s*$))\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.compile.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"begin\":\"(qr)\\\\s*\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\}\",\"name\":\"string.regexp.compile.nested_braces.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_braces_interpolated\"}]},{\"begin\":\"(qr)\\\\s*\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\]\",\"name\":\"string.regexp.compile.nested_brackets.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_brackets_interpolated\"}]},{\"begin\":\"(qr)\\\\s*<\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\">\",\"name\":\"string.regexp.compile.nested_ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_ltgt_interpolated\"}]},{\"begin\":\"(qr)\\\\s*\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\)\",\"name\":\"string.regexp.compile.nested_parens.perl\",\"patterns\":[{\"comment\":\"This is to prevent thinks like qr/foo$/ to treat $/ as a variable\",\"match\":\"\\\\$(?=[^\\\\s\\\\w\\\\\\\\'\\\\{\\\\[\\\\(\\\\<])\"},{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_parens_interpolated\"}]},{\"begin\":\"(qr)\\\\s*'\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"'\",\"name\":\"string.regexp.compile.single-quote.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"(qr)\\\\s*([^\\\\s\\\\w'\\\\{\\\\[\\\\(\\\\<])\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\2\",\"name\":\"string.regexp.compile.simple-delimiter.perl\",\"patterns\":[{\"comment\":\"This is to prevent thinks like qr/foo$/ to treat $/ as a variable\",\"match\":\"\\\\$(?=[^\\\\s\\\\w'\\\\{\\\\[\\\\(\\\\<])\",\"name\":\"keyword.control.anchor.perl\"},{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_parens_interpolated\"}]}]},{\"applyEndPatternLast\":1,\"begin\":\"(?<!\\\\{|\\\\+|\\\\-)\\\\b(?=m\\\\s*[^\\\\sa-zA-Z0-9])\",\"comment\":\"string.regexp.find-m.perl\",\"end\":\"((([egimosxradlupcn]*)))(?=(\\\\s+\\\\S|\\\\s*[;\\\\,\\\\#\\\\{\\\\}\\\\)]|\\\\s*$))\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.find-m.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"begin\":\"(m)\\\\s*\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\}\",\"name\":\"string.regexp.find-m.nested_braces.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_braces_interpolated\"}]},{\"begin\":\"(m)\\\\s*\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\]\",\"name\":\"string.regexp.find-m.nested_brackets.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_brackets_interpolated\"}]},{\"begin\":\"(m)\\\\s*<\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\">\",\"name\":\"string.regexp.find-m.nested_ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_ltgt_interpolated\"}]},{\"begin\":\"(m)\\\\s*\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\)\",\"name\":\"string.regexp.find-m.nested_parens.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_parens_interpolated\"}]},{\"begin\":\"(m)\\\\s*'\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"'\",\"name\":\"string.regexp.find-m.single-quote.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"\\\\G(?<!\\\\{|\\\\+|\\\\-)(m)(?!_)\\\\s*([^\\\\sa-zA-Z0-9'\\\\{\\\\[\\\\(\\\\<])\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\2\",\"name\":\"string.regexp.find-m.simple-delimiter.perl\",\"patterns\":[{\"comment\":\"This is to prevent thinks like qr/foo$/ to treat $/ as a variable\",\"match\":\"\\\\$(?=[^\\\\sa-zA-Z0-9'\\\\{\\\\[\\\\(\\\\<])\",\"name\":\"keyword.control.anchor.perl\"},{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"begin\":\"\\\\[\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.character-class.begin.perl\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.character-class.end.perl\"}},\"name\":\"constant.other.character-class.set.perl\",\"patterns\":[{\"comment\":\"This is to prevent thinks like qr/foo$/ to treat $/ as a variable\",\"match\":\"\\\\$(?=[^\\\\s\\\\w'\\\\{\\\\[\\\\(\\\\<])\",\"name\":\"keyword.control.anchor.perl\"},{\"include\":\"#escaped_char\"}]},{\"include\":\"#nested_parens_interpolated\"}]}]},{\"applyEndPatternLast\":1,\"begin\":\"\\\\b(?=(?<!\\\\&)(s)(\\\\s+\\\\S|\\\\s*[;\\\\,\\\\{\\\\}\\\\(\\\\)\\\\[<]|$))\",\"comment\":\"string.regexp.replace.perl\",\"end\":\"((([egimosxradlupcn]*)))(?=(\\\\s+\\\\S|\\\\s*[;\\\\,\\\\{\\\\}\\\\)\\\\]>]|\\\\s*$))\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.replace.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"begin\":\"(s)\\\\s*\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\}\",\"name\":\"string.regexp.nested_braces.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_braces\"}]},{\"begin\":\"(s)\\\\s*\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\]\",\"name\":\"string.regexp.nested_brackets.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_brackets\"}]},{\"begin\":\"(s)\\\\s*<\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\">\",\"name\":\"string.regexp.nested_ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_ltgt\"}]},{\"begin\":\"(s)\\\\s*\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\)\",\"name\":\"string.regexp.nested_parens.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_parens\"}]},{\"begin\":\"\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\}\",\"name\":\"string.regexp.format.nested_braces.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_braces_interpolated\"}]},{\"begin\":\"\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\]\",\"name\":\"string.regexp.format.nested_brackets.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_brackets_interpolated\"}]},{\"begin\":\"<\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\">\",\"name\":\"string.regexp.format.nested_ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_ltgt_interpolated\"}]},{\"begin\":\"\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\)\",\"name\":\"string.regexp.format.nested_parens.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_parens_interpolated\"}]},{\"begin\":\"'\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"'\",\"name\":\"string.regexp.format.single_quote.perl\",\"patterns\":[{\"match\":\"\\\\\\\\['\\\\\\\\]\",\"name\":\"constant.character.escape.perl\"}]},{\"begin\":\"([^\\\\s\\\\w\\\\[({<;])\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\1\",\"name\":\"string.regexp.format.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"match\":\"\\\\s+\"}]},{\"begin\":\"\\\\b(?=s([^\\\\sa-zA-Z0-9\\\\[({<]).*\\\\1([egimosxradlupcn]*)([\\\\}\\\\)\\\\;\\\\,]|\\\\s+))\",\"comment\":\"string.regexp.replaceXXX\",\"end\":\"((([egimosxradlupcn]*)))(?=([\\\\}\\\\)\\\\;\\\\,]|\\\\s+|\\\\s*$))\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.replace.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"begin\":\"(s\\\\s*)([^\\\\sa-zA-Z0-9\\\\[({<])\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"(?=\\\\2)\",\"name\":\"string.regexp.replaceXXX.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"'\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"'\",\"name\":\"string.regexp.replaceXXX.format.single_quote.perl\",\"patterns\":[{\"match\":\"\\\\\\\\['\\\\\\\\]\",\"name\":\"constant.character.escape.perl.perl\"}]},{\"begin\":\"([^\\\\sa-zA-Z0-9\\\\[({<])\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\1\",\"name\":\"string.regexp.replaceXXX.format.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]}]},{\"begin\":\"\\\\b(?=(?<!\\\\\\\\)s\\\\s*([^\\\\s\\\\w\\\\[({<>]))\",\"comment\":\"string.regexp.replace.extended\",\"end\":\"((([egimosradlupc]*x[egimosradlupc]*)))\\\\b\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.replace.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"begin\":\"(s)\\\\s*(.)\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"(?=\\\\2)\",\"name\":\"string.regexp.replace.extended.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"'\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"'(?=[egimosradlupc]*x[egimosradlupc]*)\\\\b\",\"name\":\"string.regexp.replace.extended.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"(.)\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\1(?=[egimosradlupc]*x[egimosradlupc]*)\\\\b\",\"name\":\"string.regexp.replace.extended.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]}]},{\"begin\":\"(?<=\\\\(|\\\\{|~|&|\\\\||if|unless|^)\\\\s*((\\\\/))\",\"beginCaptures\":{\"1\":{\"name\":\"string.regexp.find.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"}},\"contentName\":\"string.regexp.find.perl\",\"end\":\"((\\\\1([egimosxradlupcn]*)))(?=(\\\\s+\\\\S|\\\\s*[;\\\\,\\\\#\\\\{\\\\}\\\\)]|\\\\s*$))\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.find.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"comment\":\"This is to prevent thinks like /foo$/ to treat $/ as a variable\",\"match\":\"\\\\$(?=\\\\/)\",\"name\":\"keyword.control.anchor.perl\"},{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"captures\":{\"1\":{\"name\":\"constant.other.key.perl\"}},\"match\":\"\\\\b(\\\\w+)\\\\s*(?==>)\"},{\"match\":\"(?<={)\\\\s*\\\\w+\\\\s*(?=})\",\"name\":\"constant.other.bareword.perl\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.perl\"},\"2\":{\"name\":\"entity.name.type.class.perl\"}},\"match\":\"^\\\\s*(package)\\\\s+([^\\\\s;]+)\",\"name\":\"meta.class.perl\"},{\"captures\":{\"1\":{\"name\":\"storage.type.sub.perl\"},\"2\":{\"name\":\"entity.name.function.perl\"},\"3\":{\"name\":\"storage.type.method.perl\"}},\"match\":\"\\\\b(sub)(?:\\\\s+([-a-zA-Z0-9_]+))?\\\\s*(?:\\\\([\\\\$\\\\@\\\\*;]*\\\\))?[^\\\\w\\\\{]\",\"name\":\"meta.function.perl\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.perl\"},\"2\":{\"name\":\"punctuation.definition.parameters.perl\"},\"3\":{\"name\":\"variable.parameter.function.perl\"}},\"match\":\"^\\\\s*(BEGIN|UNITCHECK|CHECK|INIT|END|DESTROY)\\\\b\",\"name\":\"meta.function.perl\"},{\"begin\":\"^(?=(\\\\t| {4}))\",\"end\":\"(?=[^\\\\t\\\\s])\",\"name\":\"meta.leading-tabs\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"meta.odd-tab\"},\"2\":{\"name\":\"meta.even-tab\"}},\"match\":\"(\\\\t| {4})(\\\\t| {4})?\"}]},{\"captures\":{\"1\":{\"name\":\"support.function.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"5\":{\"name\":\"punctuation.definition.string.perl\"},\"8\":{\"name\":\"punctuation.definition.string.perl\"}},\"match\":\"\\\\b(tr|y)\\\\s*([^A-Za-z0-9\\\\s])(.*?)(?<!\\\\\\\\)(\\\\\\\\{2})*(\\\\2)(.*?)(?<!\\\\\\\\)(\\\\\\\\{2})*(\\\\2)\",\"name\":\"string.regexp.replace.perl\"},{\"match\":\"\\\\b(__FILE__|__LINE__|__PACKAGE__|__SUB__)\\\\b\",\"name\":\"constant.language.perl\"},{\"begin\":\"\\\\b(__DATA__|__END__)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"constant.language.perl\"}},\"contentName\":\"comment.block.documentation.perl\",\"end\":\"\\\\z\",\"patterns\":[{\"include\":\"#pod\"}]},{\"match\":\"(?<!->)\\\\b(continue|default|die|do|else|elsif|exit|for|foreach|given|goto|if|last|next|redo|return|select|unless|until|wait|when|while|switch|case|require|use|eval)\\\\b\",\"name\":\"keyword.control.perl\"},{\"match\":\"\\\\b(my|our|local)\\\\b\",\"name\":\"storage.modifier.perl\"},{\"match\":\"(?<!\\\\w)\\\\-[rwxoRWXOezsfdlpSbctugkTBMAC]\\\\b\",\"name\":\"keyword.operator.filetest.perl\"},{\"match\":\"\\\\b(and|or|xor|as|not)\\\\b\",\"name\":\"keyword.operator.logical.perl\"},{\"match\":\"(<=>|=>|->)\",\"name\":\"keyword.operator.comparison.perl\"},{\"include\":\"#heredoc\"},{\"begin\":\"\\\\bqq\\\\s*([^\\\\(\\\\{\\\\[\\\\<\\\\w\\\\s])\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.qq.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqx\\\\s*([^'\\\\(\\\\{\\\\[\\\\<\\\\w\\\\s])\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqx\\\\s*'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx.single-quote.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.double.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"(?<!->)\\\\bqw?\\\\s*([^\\\\(\\\\{\\\\[\\\\<\\\\w\\\\s])\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.q.perl\"},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.single.perl\",\"patterns\":[{\"match\":\"\\\\\\\\['\\\\\\\\]\",\"name\":\"constant.character.escape.perl\"}]},{\"begin\":\"`\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"`\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"(?<!->)\\\\bqq\\\\s*\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.qq-paren.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_parens_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqq\\\\s*\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.qq-brace.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_braces_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqq\\\\s*\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.qq-bracket.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_brackets_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqq\\\\s*\\\\<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.qq-ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_ltgt_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"(?<!->)\\\\bqx\\\\s*\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx-paren.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_parens_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqx\\\\s*\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx-brace.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_braces_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqx\\\\s*\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx-bracket.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_brackets_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqx\\\\s*\\\\<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx-ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_ltgt_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"(?<!->)\\\\bqw?\\\\s*\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.q-paren.perl\",\"patterns\":[{\"include\":\"#nested_parens\"}]},{\"begin\":\"\\\\bqw?\\\\s*\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.q-brace.perl\",\"patterns\":[{\"include\":\"#nested_braces\"}]},{\"begin\":\"\\\\bqw?\\\\s*\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.q-bracket.perl\",\"patterns\":[{\"include\":\"#nested_brackets\"}]},{\"begin\":\"\\\\bqw?\\\\s*\\\\<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.q-ltgt.perl\",\"patterns\":[{\"include\":\"#nested_ltgt\"}]},{\"begin\":\"^__\\\\w+__\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.unquoted.program-block.perl\"},{\"begin\":\"\\\\b(format)\\\\s+(\\\\w+)\\\\s*=\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.perl\"},\"2\":{\"name\":\"entity.name.function.format.perl\"}},\"end\":\"^\\\\.\\\\s*$\",\"name\":\"meta.format.perl\",\"patterns\":[{\"include\":\"#line_comment\"},{\"include\":\"#variable\"}]},{\"captures\":{\"1\":{\"name\":\"support.function.perl\"},\"2\":{\"name\":\"entity.name.function.perl\"}},\"match\":\"\\\\b(x)\\\\s*(\\\\d+)\\\\b\"},{\"match\":\"\\\\b(ARGV|DATA|ENV|SIG|STDERR|STDIN|STDOUT|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|cmp|connect|cos|crypt|dbmclose|dbmopen|defined|delete|dump|each|endgrent|endhostent|endnetent|endprotoent|endpwent|endservent|eof|eq|eval|exec|exists|exp|fcntl|fileno|flock|fork|formline|ge|getc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|grep|gt|hex|import|index|int|ioctl|join|keys|kill|lc|lcfirst|le|length|link|listen|local|localtime|log|lstat|lt|m|map|mkdir|msgctl|msgget|msgrcv|msgsnd|ne|no|oct|open|opendir|ord|pack|pipe|pop|pos|print|printf|push|quotemeta|rand|read|readdir|readlink|recv|ref|rename|reset|reverse|rewinddir|rindex|rmdir|s|say|scalar|seek|seekdir|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|study|substr|symlink|syscall|sysopen|sysread|system|syswrite|tell|telldir|tie|tied|time|times|tr|truncate|uc|ucfirst|umask|undef|unlink|unpack|unshift|untie|utime|values|vec|waitpid|wantarray|warn|write|y)\\\\b\",\"name\":\"support.function.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.perl\"},\"2\":{\"name\":\"punctuation.section.scope.end.perl\"}},\"comment\":\"Match empty brackets for ↩ snippet\",\"match\":\"(\\\\{)(\\\\})\"},{\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.perl\"},\"2\":{\"name\":\"punctuation.section.scope.end.perl\"}},\"comment\":\"Match empty parenthesis for ↩ snippet\",\"match\":\"(\\\\()(\\\\))\"}],\"repository\":{\"escaped_char\":{\"patterns\":[{\"match\":\"\\\\\\\\\\\\d+\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\c[^\\\\s\\\\\\\\]\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\g(?:\\\\{(?:\\\\w*|-\\\\d+)\\\\}|\\\\d+)\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\k(?:\\\\{\\\\w*\\\\}|<\\\\w*>|'\\\\w*')\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\N\\\\{[^\\\\}]*\\\\}\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\o\\\\{\\\\d*\\\\}\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\(?:p|P)(?:\\\\{\\\\w*\\\\}|P)\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\x(?:[0-9a-zA-Z]{2}|\\\\{\\\\w*\\\\})?\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.perl\"}]},\"heredoc\":{\"patterns\":[{\"begin\":\"((((<<(~)?) *')(HTML)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.html\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.html.basic\",\"patterns\":[{\"include\":\"text.html.basic\"}]}]},{\"begin\":\"((((<<(~)?) *')(XML)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.xml\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.xml\",\"patterns\":[{\"include\":\"text.xml\"}]}]},{\"begin\":\"((((<<(~)?) *')(CSS)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.css\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.css\",\"patterns\":[{\"include\":\"source.css\"}]}]},{\"begin\":\"((((<<(~)?) *')(JAVASCRIPT)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.js\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.js\",\"patterns\":[{\"include\":\"source.js\"}]}]},{\"begin\":\"((((<<(~)?) *')(SQL)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.sql\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.sql\",\"patterns\":[{\"include\":\"source.sql\"}]}]},{\"begin\":\"((((<<(~)?) *')(POSTSCRIPT)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.postscript\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.postscript\",\"patterns\":[{\"include\":\"source.postscript\"}]}]},{\"begin\":\"((((<<(~)?) *')([^']*)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}}},{\"begin\":\"((((<<(~)?) *\\\\\\\\)((?![=\\\\d\\\\$\\\\( ])[^;,'\\\"`\\\\s\\\\)]*)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}}},{\"begin\":\"((((<<(~)?) *\\\")(HTML)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.html\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.html.basic\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"text.html.basic\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")(XML)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.xml\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.xml\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"text.xml\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")(CSS)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.css\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.css\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.css\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")(JAVASCRIPT)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.js\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.js\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.js\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")(SQL)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.sql\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.sql\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.sql\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")(POSTSCRIPT)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.postscript\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.postscript\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.postscript\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")([^\\\"]*)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"((((<<(~)?) *)(HTML)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.html\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.html.basic\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"text.html.basic\"}]}]},{\"begin\":\"((((<<(~)?) *)(XML)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.xml\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.xml\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"text.xml\"}]}]},{\"begin\":\"((((<<(~)?) *)(CSS)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.css\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.css\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.css\"}]}]},{\"begin\":\"((((<<(~)?) *)(JAVASCRIPT)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.js\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.js\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.js\"}]}]},{\"begin\":\"((((<<(~)?) *)(SQL)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.sql\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.sql\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.sql\"}]}]},{\"begin\":\"((((<<(~)?) *)(POSTSCRIPT)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.postscript\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.postscript\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.postscript\"}]}]},{\"begin\":\"((((<<(~)?) *)((?![=\\\\d\\\\$\\\\( ])[^;,'\\\"`\\\\s\\\\)]*)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"((((<<(~)?) *`)([^`]*)(`)))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.shell.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]}]},\"line_comment\":{\"patterns\":[{\"begin\":\"(^[ \\\\t]+)?(?=#)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.perl\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.perl\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.perl\"}]}]},\"nested_braces\":{\"begin\":\"\\\\{\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\}\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_braces\"}]},\"nested_braces_interpolated\":{\"begin\":\"\\\\{\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\}\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_braces_interpolated\"}]},\"nested_brackets\":{\"begin\":\"\\\\[\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\]\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_brackets\"}]},\"nested_brackets_interpolated\":{\"begin\":\"\\\\[\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\]\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_brackets_interpolated\"}]},\"nested_ltgt\":{\"begin\":\"<\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\">\",\"patterns\":[{\"include\":\"#nested_ltgt\"}]},\"nested_ltgt_interpolated\":{\"begin\":\"<\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\">\",\"patterns\":[{\"include\":\"#variable\"},{\"include\":\"#nested_ltgt_interpolated\"}]},\"nested_parens\":{\"begin\":\"\\\\(\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_parens\"}]},\"nested_parens_interpolated\":{\"begin\":\"\\\\(\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\)\",\"patterns\":[{\"comment\":\"This is to prevent thinks like qr/foo$/ to treat $/ as a variable\",\"match\":\"\\\\$(?=[^\\\\s\\\\w'\\\\{\\\\[\\\\(\\\\<])\",\"name\":\"keyword.control.anchor.perl\"},{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_parens_interpolated\"}]},\"pod\":{\"patterns\":[{\"match\":\"^=(pod|back|cut)\\\\b\",\"name\":\"storage.type.class.pod.perl\"},{\"begin\":\"^(=begin)\\\\s+(html)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.pod.perl\"},\"2\":{\"name\":\"variable.other.pod.perl\"}},\"contentName\":\"text.embedded.html.basic\",\"end\":\"^(=end)\\\\s+(html)|^(?==cut)\",\"endCaptures\":{\"1\":{\"name\":\"storage.type.class.pod.perl\"},\"2\":{\"name\":\"variable.other.pod.perl\"}},\"name\":\"meta.embedded.pod.perl\",\"patterns\":[{\"include\":\"text.html.basic\"}]},{\"captures\":{\"1\":{\"name\":\"storage.type.class.pod.perl\"},\"2\":{\"name\":\"variable.other.pod.perl\",\"patterns\":[{\"include\":\"#pod-formatting\"}]}},\"match\":\"^(=(?:head[1-4]|item|over|encoding|begin|end|for))\\\\b\\\\s*(.*)\"},{\"include\":\"#pod-formatting\"}]},\"pod-formatting\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"markup.italic.pod.perl\"},\"2\":{\"name\":\"markup.italic.pod.perl\"}},\"match\":\"I(?:<([^<>]+)>|<+(\\\\s+(?:(?<!\\\\s)>|[^>])+\\\\s+)>+)\",\"name\":\"entity.name.type.instance.pod.perl\"},{\"captures\":{\"1\":{\"name\":\"markup.bold.pod.perl\"},\"2\":{\"name\":\"markup.bold.pod.perl\"}},\"match\":\"B(?:<([^<>]+)>|<+(\\\\s+(?:(?<!\\\\s)>|[^>])+\\\\s+)>+)\",\"name\":\"entity.name.type.instance.pod.perl\"},{\"captures\":{\"1\":{\"name\":\"markup.raw.pod.perl\"},\"2\":{\"name\":\"markup.raw.pod.perl\"}},\"match\":\"C(?:<([^<>]+)>|<+(\\\\\\\\s+(?:(?<!\\\\\\\\s)>|[^>])+\\\\\\\\s+)>+)\",\"name\":\"entity.name.type.instance.pod.perl\"},{\"captures\":{\"1\":{\"name\":\"markup.underline.link.hyperlink.pod.perl\"}},\"match\":\"L<([^>]+)>\",\"name\":\"entity.name.type.instance.pod.perl\"},{\"match\":\"[EFSXZ]<[^>]*>\",\"name\":\"entity.name.type.instance.pod.perl\"}]},\"variable\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)&(?![A-Za-z0-9_])\",\"name\":\"variable.other.regexp.match.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)`(?![A-Za-z0-9_])\",\"name\":\"variable.other.regexp.pre-match.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)'(?![A-Za-z0-9_])\",\"name\":\"variable.other.regexp.post-match.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)\\\\+(?![A-Za-z0-9_])\",\"name\":\"variable.other.regexp.last-paren-match.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)\\\"(?![A-Za-z0-9_])\",\"name\":\"variable.other.readwrite.list-separator.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)0(?![A-Za-z0-9_])\",\"name\":\"variable.other.predefined.program-name.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)[_ab\\\\*\\\\.\\\\/\\\\|,\\\\\\\\;#%=\\\\-~^:?!\\\\$<>\\\\(\\\\)\\\\[\\\\]@](?![A-Za-z0-9_])\",\"name\":\"variable.other.predefined.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)[0-9]+(?![A-Za-z0-9_])\",\"name\":\"variable.other.subpattern.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"([\\\\$\\\\@\\\\%](#)?)([a-zA-Zx7f-xff\\\\$]|::)([a-zA-Z0-9_x7f-xff\\\\$]|::)*\\\\b\",\"name\":\"variable.other.readwrite.global.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"},\"2\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$\\\\{)(?:[a-zA-Zx7f-xff\\\\$]|::)(?:[a-zA-Z0-9_x7f-xff\\\\$]|::)*(\\\\})\",\"name\":\"variable.other.readwrite.global.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"([\\\\$\\\\@\\\\%](#)?)[0-9_]\\\\b\",\"name\":\"variable.other.readwrite.global.special.perl\"}]}},\"scopeName\":\"source.perl\",\"embeddedLangs\":[\"html\",\"xml\",\"css\",\"javascript\",\"sql\"]}"))
|
|
7
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Perl\",\"name\":\"perl\",\"patterns\":[{\"include\":\"#line_comment\"},{\"begin\":\"^(?==[a-zA-Z]+)\",\"end\":\"^(=cut\\\\b.*$)\",\"endCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#pod\"}]}},\"name\":\"comment.block.documentation.perl\",\"patterns\":[{\"include\":\"#pod\"}]},{\"include\":\"#variable\"},{\"applyEndPatternLast\":1,\"begin\":\"\\\\b(?=qr\\\\s*[^\\\\s\\\\w])\",\"end\":\"((([egimosxradlupcn]*)))(?=(\\\\s+\\\\S|\\\\s*[;\\\\,\\\\#\\\\{\\\\}\\\\)]|\\\\s*$))\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.compile.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"begin\":\"(qr)\\\\s*\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\}\",\"name\":\"string.regexp.compile.nested_braces.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_braces_interpolated\"}]},{\"begin\":\"(qr)\\\\s*\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\]\",\"name\":\"string.regexp.compile.nested_brackets.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_brackets_interpolated\"}]},{\"begin\":\"(qr)\\\\s*<\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\">\",\"name\":\"string.regexp.compile.nested_ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_ltgt_interpolated\"}]},{\"begin\":\"(qr)\\\\s*\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\)\",\"name\":\"string.regexp.compile.nested_parens.perl\",\"patterns\":[{\"match\":\"\\\\$(?=[^\\\\s\\\\w\\\\\\\\'\\\\{\\\\[\\\\(\\\\<])\"},{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_parens_interpolated\"}]},{\"begin\":\"(qr)\\\\s*'\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"'\",\"name\":\"string.regexp.compile.single-quote.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"(qr)\\\\s*([^\\\\s\\\\w'\\\\{\\\\[\\\\(\\\\<])\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\2\",\"name\":\"string.regexp.compile.simple-delimiter.perl\",\"patterns\":[{\"match\":\"\\\\$(?=[^\\\\s\\\\w'\\\\{\\\\[\\\\(\\\\<])\",\"name\":\"keyword.control.anchor.perl\"},{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_parens_interpolated\"}]}]},{\"applyEndPatternLast\":1,\"begin\":\"(?<!\\\\{|\\\\+|\\\\-)\\\\b(?=m\\\\s*[^\\\\sa-zA-Z0-9])\",\"end\":\"((([egimosxradlupcn]*)))(?=(\\\\s+\\\\S|\\\\s*[;\\\\,\\\\#\\\\{\\\\}\\\\)]|\\\\s*$))\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.find-m.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"begin\":\"(m)\\\\s*\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\}\",\"name\":\"string.regexp.find-m.nested_braces.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_braces_interpolated\"}]},{\"begin\":\"(m)\\\\s*\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\]\",\"name\":\"string.regexp.find-m.nested_brackets.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_brackets_interpolated\"}]},{\"begin\":\"(m)\\\\s*<\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\">\",\"name\":\"string.regexp.find-m.nested_ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_ltgt_interpolated\"}]},{\"begin\":\"(m)\\\\s*\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\)\",\"name\":\"string.regexp.find-m.nested_parens.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_parens_interpolated\"}]},{\"begin\":\"(m)\\\\s*'\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"'\",\"name\":\"string.regexp.find-m.single-quote.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"\\\\G(?<!\\\\{|\\\\+|\\\\-)(m)(?!_)\\\\s*([^\\\\sa-zA-Z0-9'\\\\{\\\\[\\\\(\\\\<])\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\2\",\"name\":\"string.regexp.find-m.simple-delimiter.perl\",\"patterns\":[{\"match\":\"\\\\$(?=[^\\\\sa-zA-Z0-9'\\\\{\\\\[\\\\(\\\\<])\",\"name\":\"keyword.control.anchor.perl\"},{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"begin\":\"\\\\[\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.character-class.begin.perl\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.character-class.end.perl\"}},\"name\":\"constant.other.character-class.set.perl\",\"patterns\":[{\"match\":\"\\\\$(?=[^\\\\s\\\\w'\\\\{\\\\[\\\\(\\\\<])\",\"name\":\"keyword.control.anchor.perl\"},{\"include\":\"#escaped_char\"}]},{\"include\":\"#nested_parens_interpolated\"}]}]},{\"applyEndPatternLast\":1,\"begin\":\"\\\\b(?=(?<!\\\\&)(s)(\\\\s+\\\\S|\\\\s*[;\\\\,\\\\{\\\\}\\\\(\\\\)\\\\[<]|$))\",\"end\":\"((([egimosxradlupcn]*)))(?=(\\\\s+\\\\S|\\\\s*[;\\\\,\\\\{\\\\}\\\\)\\\\]>]|\\\\s*$))\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.replace.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"begin\":\"(s)\\\\s*\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\}\",\"name\":\"string.regexp.nested_braces.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_braces\"}]},{\"begin\":\"(s)\\\\s*\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\]\",\"name\":\"string.regexp.nested_brackets.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_brackets\"}]},{\"begin\":\"(s)\\\\s*<\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\">\",\"name\":\"string.regexp.nested_ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_ltgt\"}]},{\"begin\":\"(s)\\\\s*\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"\\\\)\",\"name\":\"string.regexp.nested_parens.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_parens\"}]},{\"begin\":\"\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\}\",\"name\":\"string.regexp.format.nested_braces.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_braces_interpolated\"}]},{\"begin\":\"\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\]\",\"name\":\"string.regexp.format.nested_brackets.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_brackets_interpolated\"}]},{\"begin\":\"<\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\">\",\"name\":\"string.regexp.format.nested_ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_ltgt_interpolated\"}]},{\"begin\":\"\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\)\",\"name\":\"string.regexp.format.nested_parens.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_parens_interpolated\"}]},{\"begin\":\"'\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"'\",\"name\":\"string.regexp.format.single_quote.perl\",\"patterns\":[{\"match\":\"\\\\\\\\['\\\\\\\\]\",\"name\":\"constant.character.escape.perl\"}]},{\"begin\":\"([^\\\\s\\\\w\\\\[({<;])\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\1\",\"name\":\"string.regexp.format.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"match\":\"\\\\s+\"}]},{\"begin\":\"\\\\b(?=s([^\\\\sa-zA-Z0-9\\\\[({<]).*\\\\1([egimosxradlupcn]*)([\\\\}\\\\)\\\\;\\\\,]|\\\\s+))\",\"end\":\"((([egimosxradlupcn]*)))(?=([\\\\}\\\\)\\\\;\\\\,]|\\\\s+|\\\\s*$))\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.replace.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"begin\":\"(s\\\\s*)([^\\\\sa-zA-Z0-9\\\\[({<])\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"(?=\\\\2)\",\"name\":\"string.regexp.replaceXXX.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"'\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"'\",\"name\":\"string.regexp.replaceXXX.format.single_quote.perl\",\"patterns\":[{\"match\":\"\\\\\\\\['\\\\\\\\]\",\"name\":\"constant.character.escape.perl.perl\"}]},{\"begin\":\"([^\\\\sa-zA-Z0-9\\\\[({<])\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\1\",\"name\":\"string.regexp.replaceXXX.format.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]}]},{\"begin\":\"\\\\b(?=(?<!\\\\\\\\)s\\\\s*([^\\\\s\\\\w\\\\[({<>]))\",\"end\":\"((([egimosradlupc]*x[egimosradlupc]*)))\\\\b\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.replace.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"begin\":\"(s)\\\\s*(.)\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"},\"1\":{\"name\":\"support.function.perl\"}},\"end\":\"(?=\\\\2)\",\"name\":\"string.regexp.replace.extended.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"'\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"'(?=[egimosradlupc]*x[egimosradlupc]*)\\\\b\",\"name\":\"string.regexp.replace.extended.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"(.)\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.string.perl\"}},\"end\":\"\\\\1(?=[egimosradlupc]*x[egimosradlupc]*)\\\\b\",\"name\":\"string.regexp.replace.extended.simple_delimiter.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]}]},{\"begin\":\"(?<=\\\\(|\\\\{|~|&|\\\\||if|unless|^)\\\\s*((\\\\/))\",\"beginCaptures\":{\"1\":{\"name\":\"string.regexp.find.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"}},\"contentName\":\"string.regexp.find.perl\",\"end\":\"((\\\\1([egimosxradlupcn]*)))(?=(\\\\s+\\\\S|\\\\s*[;\\\\,\\\\#\\\\{\\\\}\\\\)]|\\\\s*$))\",\"endCaptures\":{\"1\":{\"name\":\"string.regexp.find.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"3\":{\"name\":\"keyword.control.regexp-option.perl\"}},\"patterns\":[{\"match\":\"\\\\$(?=\\\\/)\",\"name\":\"keyword.control.anchor.perl\"},{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"captures\":{\"1\":{\"name\":\"constant.other.key.perl\"}},\"match\":\"\\\\b(\\\\w+)\\\\s*(?==>)\"},{\"match\":\"(?<={)\\\\s*\\\\w+\\\\s*(?=})\",\"name\":\"constant.other.bareword.perl\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.perl\"},\"2\":{\"name\":\"entity.name.type.class.perl\"}},\"match\":\"^\\\\s*(package)\\\\s+([^\\\\s;]+)\",\"name\":\"meta.class.perl\"},{\"captures\":{\"1\":{\"name\":\"storage.type.sub.perl\"},\"2\":{\"name\":\"entity.name.function.perl\"},\"3\":{\"name\":\"storage.type.method.perl\"}},\"match\":\"\\\\b(sub)(?:\\\\s+([-a-zA-Z0-9_]+))?\\\\s*(?:\\\\([\\\\$\\\\@\\\\*;]*\\\\))?[^\\\\w\\\\{]\",\"name\":\"meta.function.perl\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.perl\"},\"2\":{\"name\":\"punctuation.definition.parameters.perl\"},\"3\":{\"name\":\"variable.parameter.function.perl\"}},\"match\":\"^\\\\s*(BEGIN|UNITCHECK|CHECK|INIT|END|DESTROY)\\\\b\",\"name\":\"meta.function.perl\"},{\"begin\":\"^(?=(\\\\t| {4}))\",\"end\":\"(?=[^\\\\t\\\\s])\",\"name\":\"meta.leading-tabs\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"meta.odd-tab\"},\"2\":{\"name\":\"meta.even-tab\"}},\"match\":\"(\\\\t| {4})(\\\\t| {4})?\"}]},{\"captures\":{\"1\":{\"name\":\"support.function.perl\"},\"2\":{\"name\":\"punctuation.definition.string.perl\"},\"5\":{\"name\":\"punctuation.definition.string.perl\"},\"8\":{\"name\":\"punctuation.definition.string.perl\"}},\"match\":\"\\\\b(tr|y)\\\\s*([^A-Za-z0-9\\\\s])(.*?)(?<!\\\\\\\\)(\\\\\\\\{2})*(\\\\2)(.*?)(?<!\\\\\\\\)(\\\\\\\\{2})*(\\\\2)\",\"name\":\"string.regexp.replace.perl\"},{\"match\":\"\\\\b(__FILE__|__LINE__|__PACKAGE__|__SUB__)\\\\b\",\"name\":\"constant.language.perl\"},{\"begin\":\"\\\\b(__DATA__|__END__)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"constant.language.perl\"}},\"contentName\":\"comment.block.documentation.perl\",\"end\":\"\\\\z\",\"patterns\":[{\"include\":\"#pod\"}]},{\"match\":\"(?<!->)\\\\b(continue|default|die|do|else|elsif|exit|for|foreach|given|goto|if|last|next|redo|return|select|unless|until|wait|when|while|switch|case|require|use|eval)\\\\b\",\"name\":\"keyword.control.perl\"},{\"match\":\"\\\\b(my|our|local)\\\\b\",\"name\":\"storage.modifier.perl\"},{\"match\":\"(?<!\\\\w)\\\\-[rwxoRWXOezsfdlpSbctugkTBMAC]\\\\b\",\"name\":\"keyword.operator.filetest.perl\"},{\"match\":\"\\\\b(and|or|xor|as|not)\\\\b\",\"name\":\"keyword.operator.logical.perl\"},{\"match\":\"(<=>|=>|->)\",\"name\":\"keyword.operator.comparison.perl\"},{\"include\":\"#heredoc\"},{\"begin\":\"\\\\bqq\\\\s*([^\\\\(\\\\{\\\\[\\\\<\\\\w\\\\s])\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.qq.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqx\\\\s*([^'\\\\(\\\\{\\\\[\\\\<\\\\w\\\\s])\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqx\\\\s*'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx.single-quote.perl\",\"patterns\":[{\"include\":\"#escaped_char\"}]},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.double.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"(?<!->)\\\\bqw?\\\\s*([^\\\\(\\\\{\\\\[\\\\<\\\\w\\\\s])\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.q.perl\"},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.single.perl\",\"patterns\":[{\"match\":\"\\\\\\\\['\\\\\\\\]\",\"name\":\"constant.character.escape.perl\"}]},{\"begin\":\"`\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"`\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"(?<!->)\\\\bqq\\\\s*\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.qq-paren.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_parens_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqq\\\\s*\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.qq-brace.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_braces_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqq\\\\s*\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.qq-bracket.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_brackets_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqq\\\\s*\\\\<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.qq-ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_ltgt_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"(?<!->)\\\\bqx\\\\s*\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx-paren.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_parens_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqx\\\\s*\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx-brace.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_braces_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqx\\\\s*\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx-bracket.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_brackets_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"\\\\bqx\\\\s*\\\\<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.interpolated.qx-ltgt.perl\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_ltgt_interpolated\"},{\"include\":\"#variable\"}]},{\"begin\":\"(?<!->)\\\\bqw?\\\\s*\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.q-paren.perl\",\"patterns\":[{\"include\":\"#nested_parens\"}]},{\"begin\":\"\\\\bqw?\\\\s*\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.q-brace.perl\",\"patterns\":[{\"include\":\"#nested_braces\"}]},{\"begin\":\"\\\\bqw?\\\\s*\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.q-bracket.perl\",\"patterns\":[{\"include\":\"#nested_brackets\"}]},{\"begin\":\"\\\\bqw?\\\\s*\\\\<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"\\\\>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.quoted.other.q-ltgt.perl\",\"patterns\":[{\"include\":\"#nested_ltgt\"}]},{\"begin\":\"^__\\\\w+__\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.perl\"}},\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"string.unquoted.program-block.perl\"},{\"begin\":\"\\\\b(format)\\\\s+(\\\\w+)\\\\s*=\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.perl\"},\"2\":{\"name\":\"entity.name.function.format.perl\"}},\"end\":\"^\\\\.\\\\s*$\",\"name\":\"meta.format.perl\",\"patterns\":[{\"include\":\"#line_comment\"},{\"include\":\"#variable\"}]},{\"captures\":{\"1\":{\"name\":\"support.function.perl\"},\"2\":{\"name\":\"entity.name.function.perl\"}},\"match\":\"\\\\b(x)\\\\s*(\\\\d+)\\\\b\"},{\"match\":\"\\\\b(ARGV|DATA|ENV|SIG|STDERR|STDIN|STDOUT|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|cmp|connect|cos|crypt|dbmclose|dbmopen|defined|delete|dump|each|endgrent|endhostent|endnetent|endprotoent|endpwent|endservent|eof|eq|eval|exec|exists|exp|fcntl|fileno|flock|fork|formline|ge|getc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|grep|gt|hex|import|index|int|ioctl|join|keys|kill|lc|lcfirst|le|length|link|listen|local|localtime|log|lstat|lt|m|map|mkdir|msgctl|msgget|msgrcv|msgsnd|ne|no|oct|open|opendir|ord|pack|pipe|pop|pos|print|printf|push|quotemeta|rand|read|readdir|readlink|recv|ref|rename|reset|reverse|rewinddir|rindex|rmdir|s|say|scalar|seek|seekdir|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|study|substr|symlink|syscall|sysopen|sysread|system|syswrite|tell|telldir|tie|tied|time|times|tr|truncate|uc|ucfirst|umask|undef|unlink|unpack|unshift|untie|utime|values|vec|waitpid|wantarray|warn|write|y)\\\\b\",\"name\":\"support.function.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.perl\"},\"2\":{\"name\":\"punctuation.section.scope.end.perl\"}},\"match\":\"(\\\\{)(\\\\})\"},{\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.perl\"},\"2\":{\"name\":\"punctuation.section.scope.end.perl\"}},\"match\":\"(\\\\()(\\\\))\"}],\"repository\":{\"escaped_char\":{\"patterns\":[{\"match\":\"\\\\\\\\\\\\d+\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\c[^\\\\s\\\\\\\\]\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\g(?:\\\\{(?:\\\\w*|-\\\\d+)\\\\}|\\\\d+)\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\k(?:\\\\{\\\\w*\\\\}|<\\\\w*>|'\\\\w*')\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\N\\\\{[^\\\\}]*\\\\}\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\o\\\\{\\\\d*\\\\}\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\(?:p|P)(?:\\\\{\\\\w*\\\\}|P)\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\x(?:[0-9a-zA-Z]{2}|\\\\{\\\\w*\\\\})?\",\"name\":\"constant.character.escape.perl\"},{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.perl\"}]},\"heredoc\":{\"patterns\":[{\"begin\":\"((((<<(~)?) *')(HTML)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.html\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.html.basic\",\"patterns\":[{\"include\":\"text.html.basic\"}]}]},{\"begin\":\"((((<<(~)?) *')(XML)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.xml\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.xml\",\"patterns\":[{\"include\":\"text.xml\"}]}]},{\"begin\":\"((((<<(~)?) *')(CSS)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.css\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.css\",\"patterns\":[{\"include\":\"source.css\"}]}]},{\"begin\":\"((((<<(~)?) *')(JAVASCRIPT)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.js\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.js\",\"patterns\":[{\"include\":\"source.js\"}]}]},{\"begin\":\"((((<<(~)?) *')(SQL)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.sql\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.sql\",\"patterns\":[{\"include\":\"source.sql\"}]}]},{\"begin\":\"((((<<(~)?) *')(POSTSCRIPT)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.postscript\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.postscript\",\"patterns\":[{\"include\":\"source.postscript\"}]}]},{\"begin\":\"((((<<(~)?) *')([^']*)(')))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}}},{\"begin\":\"((((<<(~)?) *\\\\\\\\)((?![=\\\\d\\\\$\\\\( ])[^;,'\\\"`\\\\s\\\\)]*)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.raw.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.raw.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}}},{\"begin\":\"((((<<(~)?) *\\\")(HTML)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.html\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.html.basic\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"text.html.basic\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")(XML)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.xml\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.xml\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"text.xml\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")(CSS)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.css\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.css\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.css\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")(JAVASCRIPT)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.js\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.js\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.js\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")(SQL)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.sql\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.sql\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.sql\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")(POSTSCRIPT)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.postscript\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.postscript\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.postscript\"}]}]},{\"begin\":\"((((<<(~)?) *\\\")([^\\\"]*)(\\\")))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"((((<<(~)?) *)(HTML)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.html\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.html.basic\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"text.html.basic\"}]}]},{\"begin\":\"((((<<(~)?) *)(XML)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.xml\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"text.xml\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"text.xml\"}]}]},{\"begin\":\"((((<<(~)?) *)(CSS)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.css\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.css\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.css\"}]}]},{\"begin\":\"((((<<(~)?) *)(JAVASCRIPT)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.js\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.js\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.js\"}]}]},{\"begin\":\"((((<<(~)?) *)(SQL)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.sql\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.sql\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.sql\"}]}]},{\"begin\":\"((((<<(~)?) *)(POSTSCRIPT)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"name\":\"meta.embedded.block.postscript\",\"patterns\":[{\"begin\":\"^\",\"end\":\"\\\\n\",\"name\":\"source.postscript\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"source.postscript\"}]}]},{\"begin\":\"((((<<(~)?) *)((?![=\\\\d\\\\$\\\\( ])[^;,'\\\"`\\\\s\\\\)]*)()))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.interpolated.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]},{\"begin\":\"((((<<(~)?) *`)([^`]*)(`)))(.*)\\\\n?\",\"beginCaptures\":{\"1\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"2\":{\"name\":\"punctuation.definition.string.begin.perl\"},\"3\":{\"name\":\"punctuation.definition.delimiter.begin.perl\"},\"7\":{\"name\":\"punctuation.definition.delimiter.end.perl\"},\"8\":{\"patterns\":[{\"include\":\"$self\"}]}},\"contentName\":\"string.unquoted.heredoc.shell.perl\",\"end\":\"^((?!\\\\5)\\\\s+)?((\\\\6))$\",\"endCaptures\":{\"2\":{\"name\":\"string.unquoted.heredoc.interpolated.perl\"},\"3\":{\"name\":\"punctuation.definition.string.end.perl\"}},\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"}]}]},\"line_comment\":{\"patterns\":[{\"begin\":\"(^[ \\\\t]+)?(?=#)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.perl\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.perl\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.perl\"}]}]},\"nested_braces\":{\"begin\":\"\\\\{\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\}\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_braces\"}]},\"nested_braces_interpolated\":{\"begin\":\"\\\\{\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\}\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_braces_interpolated\"}]},\"nested_brackets\":{\"begin\":\"\\\\[\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\]\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_brackets\"}]},\"nested_brackets_interpolated\":{\"begin\":\"\\\\[\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\]\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_brackets_interpolated\"}]},\"nested_ltgt\":{\"begin\":\"<\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\">\",\"patterns\":[{\"include\":\"#nested_ltgt\"}]},\"nested_ltgt_interpolated\":{\"begin\":\"<\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\">\",\"patterns\":[{\"include\":\"#variable\"},{\"include\":\"#nested_ltgt_interpolated\"}]},\"nested_parens\":{\"begin\":\"\\\\(\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#escaped_char\"},{\"include\":\"#nested_parens\"}]},\"nested_parens_interpolated\":{\"begin\":\"\\\\(\",\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.perl\"}},\"end\":\"\\\\)\",\"patterns\":[{\"match\":\"\\\\$(?=[^\\\\s\\\\w'\\\\{\\\\[\\\\(\\\\<])\",\"name\":\"keyword.control.anchor.perl\"},{\"include\":\"#escaped_char\"},{\"include\":\"#variable\"},{\"include\":\"#nested_parens_interpolated\"}]},\"pod\":{\"patterns\":[{\"match\":\"^=(pod|back|cut)\\\\b\",\"name\":\"storage.type.class.pod.perl\"},{\"begin\":\"^(=begin)\\\\s+(html)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.pod.perl\"},\"2\":{\"name\":\"variable.other.pod.perl\"}},\"contentName\":\"text.embedded.html.basic\",\"end\":\"^(=end)\\\\s+(html)|^(?==cut)\",\"endCaptures\":{\"1\":{\"name\":\"storage.type.class.pod.perl\"},\"2\":{\"name\":\"variable.other.pod.perl\"}},\"name\":\"meta.embedded.pod.perl\",\"patterns\":[{\"include\":\"text.html.basic\"}]},{\"captures\":{\"1\":{\"name\":\"storage.type.class.pod.perl\"},\"2\":{\"name\":\"variable.other.pod.perl\",\"patterns\":[{\"include\":\"#pod-formatting\"}]}},\"match\":\"^(=(?:head[1-4]|item|over|encoding|begin|end|for))\\\\b\\\\s*(.*)\"},{\"include\":\"#pod-formatting\"}]},\"pod-formatting\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"markup.italic.pod.perl\"},\"2\":{\"name\":\"markup.italic.pod.perl\"}},\"match\":\"I(?:<([^<>]+)>|<+(\\\\s+(?:(?<!\\\\s)>|[^>])+\\\\s+)>+)\",\"name\":\"entity.name.type.instance.pod.perl\"},{\"captures\":{\"1\":{\"name\":\"markup.bold.pod.perl\"},\"2\":{\"name\":\"markup.bold.pod.perl\"}},\"match\":\"B(?:<([^<>]+)>|<+(\\\\s+(?:(?<!\\\\s)>|[^>])+\\\\s+)>+)\",\"name\":\"entity.name.type.instance.pod.perl\"},{\"captures\":{\"1\":{\"name\":\"markup.raw.pod.perl\"},\"2\":{\"name\":\"markup.raw.pod.perl\"}},\"match\":\"C(?:<([^<>]+)>|<+(\\\\\\\\s+(?:(?<!\\\\\\\\s)>|[^>])+\\\\\\\\s+)>+)\",\"name\":\"entity.name.type.instance.pod.perl\"},{\"captures\":{\"1\":{\"name\":\"markup.underline.link.hyperlink.pod.perl\"}},\"match\":\"L<([^>]+)>\",\"name\":\"entity.name.type.instance.pod.perl\"},{\"match\":\"[EFSXZ]<[^>]*>\",\"name\":\"entity.name.type.instance.pod.perl\"}]},\"variable\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)&(?![A-Za-z0-9_])\",\"name\":\"variable.other.regexp.match.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)`(?![A-Za-z0-9_])\",\"name\":\"variable.other.regexp.pre-match.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)'(?![A-Za-z0-9_])\",\"name\":\"variable.other.regexp.post-match.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)\\\\+(?![A-Za-z0-9_])\",\"name\":\"variable.other.regexp.last-paren-match.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)\\\"(?![A-Za-z0-9_])\",\"name\":\"variable.other.readwrite.list-separator.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)0(?![A-Za-z0-9_])\",\"name\":\"variable.other.predefined.program-name.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)[_ab\\\\*\\\\.\\\\/\\\\|,\\\\\\\\;#%=\\\\-~^:?!\\\\$<>\\\\(\\\\)\\\\[\\\\]@](?![A-Za-z0-9_])\",\"name\":\"variable.other.predefined.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$)[0-9]+(?![A-Za-z0-9_])\",\"name\":\"variable.other.subpattern.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"([\\\\$\\\\@\\\\%](#)?)([a-zA-Zx7f-xff\\\\$]|::)([a-zA-Z0-9_x7f-xff\\\\$]|::)*\\\\b\",\"name\":\"variable.other.readwrite.global.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"},\"2\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"(\\\\$\\\\{)(?:[a-zA-Zx7f-xff\\\\$]|::)(?:[a-zA-Z0-9_x7f-xff\\\\$]|::)*(\\\\})\",\"name\":\"variable.other.readwrite.global.perl\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.perl\"}},\"match\":\"([\\\\$\\\\@\\\\%](#)?)[0-9_]\\\\b\",\"name\":\"variable.other.readwrite.global.special.perl\"}]}},\"scopeName\":\"source.perl\",\"embeddedLangs\":[\"html\",\"xml\",\"css\",\"javascript\",\"sql\"]}"))
|
|
8
8
|
|
|
9
9
|
export default [
|
|
10
10
|
...html,
|
package/dist/po.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Gettext PO\",\"fileTypes\":[\"po\",\"pot\",\"potx\"],\"name\":\"po\",\"patterns\":[{\"begin\":\"^(?=(msgid(_plural)?|msgctxt)\\\\s*\\\"[^\\\"])|^\\\\s*$\",\"
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Gettext PO\",\"fileTypes\":[\"po\",\"pot\",\"potx\"],\"name\":\"po\",\"patterns\":[{\"begin\":\"^(?=(msgid(_plural)?|msgctxt)\\\\s*\\\"[^\\\"])|^\\\\s*$\",\"end\":\"\\\\z\",\"patterns\":[{\"include\":\"#body\"}]},{\"include\":\"#comments\"},{\"match\":\"^msg(id|str)\\\\s+\\\"\\\"\\\\s*$\\\\n?\",\"name\":\"comment.line.number-sign.po\"},{\"captures\":{\"1\":{\"name\":\"constant.language.po\"},\"2\":{\"name\":\"punctuation.separator.key-value.po\"},\"3\":{\"name\":\"string.other.po\"}},\"match\":\"^\\\"(?:([^\\\\s:]+)(:)\\\\s+)?([^\\\"]*)\\\"\\\\s*$\\\\n?\",\"name\":\"meta.header.po\"}],\"repository\":{\"body\":{\"patterns\":[{\"begin\":\"^(msgid(_plural)?)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.msgid.po\"}},\"end\":\"^(?!\\\")\",\"name\":\"meta.scope.msgid.po\",\"patterns\":[{\"begin\":\"(\\\\G|^)\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.po\",\"patterns\":[{\"match\":\"\\\\\\\\[\\\\\\\\\\\"]\",\"name\":\"constant.character.escape.po\"}]}]},{\"begin\":\"^(msgstr)(?:(\\\\[)(\\\\d+)(\\\\]))?\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.msgstr.po\"},\"2\":{\"name\":\"keyword.control.msgstr.po\"},\"3\":{\"name\":\"constant.numeric.po\"},\"4\":{\"name\":\"keyword.control.msgstr.po\"}},\"end\":\"^(?!\\\")\",\"name\":\"meta.scope.msgstr.po\",\"patterns\":[{\"begin\":\"(\\\\G|^)\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.po\",\"patterns\":[{\"match\":\"\\\\\\\\[\\\\\\\\\\\"]\",\"name\":\"constant.character.escape.po\"}]}]},{\"begin\":\"^(msgctxt)(?:(\\\\[)(\\\\d+)(\\\\]))?\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.msgctxt.po\"},\"2\":{\"name\":\"keyword.control.msgctxt.po\"},\"3\":{\"name\":\"constant.numeric.po\"},\"4\":{\"name\":\"keyword.control.msgctxt.po\"}},\"end\":\"^(?!\\\")\",\"name\":\"meta.scope.msgctxt.po\",\"patterns\":[{\"begin\":\"(\\\\G|^)\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.po\",\"patterns\":[{\"match\":\"\\\\\\\\[\\\\\\\\\\\"]\",\"name\":\"constant.character.escape.po\"}]}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.po\"}},\"match\":\"^(#~).*$\\\\n?\",\"name\":\"comment.line.number-sign.obsolete.po\"},{\"include\":\"#comments\"},{\"match\":\"^(?!\\\\s*$)[^#\\\"].*$\\\\n?\",\"name\":\"invalid.illegal.po\"}]},\"comments\":{\"patterns\":[{\"begin\":\"^(?=#)\",\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"(#,)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.po\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.flag.po\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.type.flag.po\"}},\"match\":\"(?:\\\\G|,\\\\s*)((?:fuzzy)|(?:no-)?(?:c|objc|sh|lisp|elisp|librep|scheme|smalltalk|java|csharp|awk|object-pascal|ycp|tcl|perl|perl-brace|php|gcc-internal|qt|boost)-format)\"}]},{\"begin\":\"#\\\\.\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.po\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.extracted.po\"},{\"begin\":\"(#:)[ \\\\t]*\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.po\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.reference.po\",\"patterns\":[{\"match\":\"(\\\\S+:)([\\\\d;]*)\",\"name\":\"storage.type.class.po\"}]},{\"begin\":\"#\\\\|\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.po\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.previous.po\"},{\"begin\":\"#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.po\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.po\"}]}]}},\"scopeName\":\"source.po\",\"aliases\":[\"pot\",\"potx\"]}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/polar.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Polar\",\"name\":\"polar\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#rule\"},{\"include\":\"#rule-type\"},{\"include\":\"#inline-query\"},{\"include\":\"#resource-block\"},{\"include\":\"#test-block\"},{\"include\":\"#fixture\"}],\"repository\":{\"boolean\":{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.boolean\"},\"comment\":{\"match\":\"#.*\",\"name\":\"comment.line.number-sign\"},\"fixture\":{\"patterns\":[{\"match\":\"\\\\bfixture\\\\b\",\"name\":\"keyword.control\"},{\"begin\":\"\\\\btest\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control\"}},\"end\":\"\\\\bfixture\\\\b\",\"endCaptures\":{\"0\":{\"name\":\"keyword.control\"}}}]},\"inline-query\":{\"begin\":\"\\\\?=\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control\"}},\"end\":\";\",\"name\":\"meta.inline-query\",\"patterns\":[{\"include\":\"#term\"}]},\"keyword\":{\"patterns\":[{\"match\":\"\\\\b(cut|or|debug|print|in|forall|if|and|of|not|matches|type|on|global)\\\\b\",\"name\":\"constant.character\"}]},\"number\":{\"patterns\":[{\"match\":\"\\\\b[+-]?\\\\d+(?:(\\\\.)\\\\d+(?:e[+-]?\\\\d+)?|(?:e[+-]?\\\\d+))\\\\b\",\"name\":\"constant.numeric.float\"},{\"match\":\"\\\\b(\\\\+|\\\\-)[\\\\d]+\\\\b\",\"name\":\"constant.numeric.integer\"},{\"match\":\"\\\\b[\\\\d]+\\\\b\",\"name\":\"constant.numeric.natural\"}]},\"object-literal\":{\"begin\":\"([a-zA-Z_][a-zA-Z0-9_]*(?:::[a-zA-Z0-9_]+)*)\\\\s*\\\\{\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.type.resource\"}},\"end\":\"\\\\}\",\"name\":\"constant.other.object-literal\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#number\"},{\"include\":\"#boolean\"}]},\"operator\":{\"captures\":{\"1\":{\"name\":\"keyword.control\"}},\"match\":\"(\\\\+|-|\\\\*|\\\\/|<|>|=|!)\"},\"resource-block\":{\"begin\":\"(?<resourceType>[a-zA-Z_][a-zA-Z0-9_]*(?:::[a-zA-Z0-9_]+)*){0}((?:(resource|actor)\\\\s+(\\\\g<resourceType>)(?:\\\\s+(extends)\\\\s+(\\\\g<resourceType>(?:\\\\s*,\\\\s*\\\\g<resourceType>)*)\\\\s*,?\\\\s*)?)|(global))\\\\s*{\",\"beginCaptures\":{\"3\":{\"
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Polar\",\"name\":\"polar\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#rule\"},{\"include\":\"#rule-type\"},{\"include\":\"#inline-query\"},{\"include\":\"#resource-block\"},{\"include\":\"#test-block\"},{\"include\":\"#fixture\"}],\"repository\":{\"boolean\":{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.boolean\"},\"comment\":{\"match\":\"#.*\",\"name\":\"comment.line.number-sign\"},\"fixture\":{\"patterns\":[{\"match\":\"\\\\bfixture\\\\b\",\"name\":\"keyword.control\"},{\"begin\":\"\\\\btest\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control\"}},\"end\":\"\\\\bfixture\\\\b\",\"endCaptures\":{\"0\":{\"name\":\"keyword.control\"}}}]},\"inline-query\":{\"begin\":\"\\\\?=\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control\"}},\"end\":\";\",\"name\":\"meta.inline-query\",\"patterns\":[{\"include\":\"#term\"}]},\"keyword\":{\"patterns\":[{\"match\":\"\\\\b(cut|or|debug|print|in|forall|if|and|of|not|matches|type|on|global)\\\\b\",\"name\":\"constant.character\"}]},\"number\":{\"patterns\":[{\"match\":\"\\\\b[+-]?\\\\d+(?:(\\\\.)\\\\d+(?:e[+-]?\\\\d+)?|(?:e[+-]?\\\\d+))\\\\b\",\"name\":\"constant.numeric.float\"},{\"match\":\"\\\\b(\\\\+|\\\\-)[\\\\d]+\\\\b\",\"name\":\"constant.numeric.integer\"},{\"match\":\"\\\\b[\\\\d]+\\\\b\",\"name\":\"constant.numeric.natural\"}]},\"object-literal\":{\"begin\":\"([a-zA-Z_][a-zA-Z0-9_]*(?:::[a-zA-Z0-9_]+)*)\\\\s*\\\\{\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.type.resource\"}},\"end\":\"\\\\}\",\"name\":\"constant.other.object-literal\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#number\"},{\"include\":\"#boolean\"}]},\"operator\":{\"captures\":{\"1\":{\"name\":\"keyword.control\"}},\"match\":\"(\\\\+|-|\\\\*|\\\\/|<|>|=|!)\"},\"resource-block\":{\"begin\":\"(?<resourceType>[a-zA-Z_][a-zA-Z0-9_]*(?:::[a-zA-Z0-9_]+)*){0}((?:(resource|actor)\\\\s+(\\\\g<resourceType>)(?:\\\\s+(extends)\\\\s+(\\\\g<resourceType>(?:\\\\s*,\\\\s*\\\\g<resourceType>)*)\\\\s*,?\\\\s*)?)|(global))\\\\s*{\",\"beginCaptures\":{\"3\":{\"name\":\"keyword.control\"},\"4\":{\"name\":\"entity.name.type\"},\"5\":{\"name\":\"keyword.control\"},\"6\":{\"patterns\":[{\"match\":\"([a-zA-Z_][a-zA-Z0-9_]*(?:::[a-zA-Z0-9_]+)*)\",\"name\":\"entity.name.type\"}]},\"7\":{\"name\":\"keyword.control\"}},\"end\":\"\\\\}\",\"name\":\"meta.resource-block\",\"patterns\":[{\"match\":\";\",\"name\":\"punctuation.separator.sequence.declarations\"},{\"begin\":\"\\\\{\",\"end\":\"\\\\}\",\"name\":\"meta.relation-declaration\",\"patterns\":[{\"include\":\"#specializer\"},{\"include\":\"#comment\"},{\"match\":\",\",\"name\":\"punctuation.separator.sequence.dict\"}]},{\"include\":\"#term\"}]},\"rule\":{\"name\":\"meta.rule\",\"patterns\":[{\"include\":\"#rule-functor\"},{\"begin\":\"\\\\bif\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.if\"}},\"end\":\";\",\"patterns\":[{\"include\":\"#term\"}]},{\"match\":\";\"}]},\"rule-functor\":{\"begin\":\"([a-zA-Z_][a-zA-Z0-9_]*(?:::[a-zA-Z0-9_]+)*)\\\\s*\\\\(\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.rule\"}},\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#specializer\"},{\"match\":\",\",\"name\":\"punctuation.separator.sequence.list\"},{\"include\":\"#term\"}]},\"rule-type\":{\"begin\":\"\\\\btype\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.other.type-decl\"}},\"end\":\";\",\"name\":\"meta.rule-type\",\"patterns\":[{\"include\":\"#rule-functor\"}]},\"specializer\":{\"captures\":{\"1\":{\"name\":\"entity.name.type.resource\"}},\"match\":\"[a-zA-Z_][a-zA-Z0-9_]*(?:::[a-zA-Z0-9_]+)*\\\\s*:\\\\s*([a-zA-Z_][a-zA-Z0-9_]*(?:::[a-zA-Z0-9_]+)*)\"},\"string\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double\",\"patterns\":[{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape\"}]},\"term\":{\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#string\"},{\"include\":\"#number\"},{\"include\":\"#keyword\"},{\"include\":\"#operator\"},{\"include\":\"#boolean\"},{\"include\":\"#object-literal\"},{\"begin\":\"\\\\[\",\"end\":\"\\\\]\",\"name\":\"meta.bracket.list\",\"patterns\":[{\"include\":\"#term\"},{\"match\":\",\",\"name\":\"punctuation.separator.sequence.list\"}]},{\"begin\":\"\\\\{\",\"end\":\"\\\\}\",\"name\":\"meta.bracket.dict\",\"patterns\":[{\"include\":\"#term\"},{\"match\":\",\",\"name\":\"punctuation.separator.sequence.dict\"}]},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.parens\",\"patterns\":[{\"include\":\"#term\"}]}]},\"test-block\":{\"begin\":\"(test)\\\\s+(\\\"[^\\\"]*\\\")\\\\s*\\\\{\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control\"},\"2\":{\"name\":\"string.quoted.double\"}},\"end\":\"\\\\}\",\"name\":\"meta.test-block\",\"patterns\":[{\"begin\":\"(setup)\\\\s*\\\\{\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control\"}},\"end\":\"\\\\}\",\"name\":\"meta.test-setup\",\"patterns\":[{\"include\":\"#rule\"},{\"include\":\"#comment\"},{\"include\":\"#fixture\"}]},{\"include\":\"#rule\"},{\"match\":\"\\\\b(assert|assert_not)\\\\b\",\"name\":\"keyword.other\"},{\"include\":\"#comment\"},{\"name\":\"meta.iff-rule\",\"patterns\":[{\"include\":\"#rule-functor\"},{\"begin\":\"\\\\biff\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control\"}},\"end\":\";\",\"patterns\":[{\"include\":\"#term\"}]},{\"match\":\";\"}]}]}},\"scopeName\":\"source.polar\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/powershell.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"PowerShell\",\"name\":\"powershell\",\"patterns\":[{\"begin\":\"<#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.block.begin.powershell\"}},\"end\":\"#>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.block.end.powershell\"}},\"name\":\"comment.block.powershell\",\"patterns\":[{\"include\":\"#commentEmbeddedDocs\"}]},{\"match\":\"[2-6]>&1|>>|>|<<|<|>|>\\\\||[1-6]>|[1-6]>>\",\"name\":\"keyword.operator.redirection.powershell\"},{\"include\":\"#commands\"},{\"include\":\"#commentLine\"},{\"include\":\"#variable\"},{\"include\":\"#subexpression\"},{\"include\":\"#function\"},{\"include\":\"#attribute\"},{\"include\":\"#UsingDirective\"},{\"include\":\"#type\"},{\"include\":\"#hashtable\"},{\"include\":\"#doubleQuotedString\"},{\"include\":\"#scriptblock\"},{\"comment\":\"Needed to parse stuff correctly in 'argument mode'. (See about_parsing.)\",\"include\":\"#doubleQuotedStringEscapes\"},{\"applyEndPatternLast\":true,\"begin\":\"['\\\\x{2018}-\\\\x{201B}]\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"['\\\\x{2018}-\\\\x{201B}]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.single.powershell\",\"patterns\":[{\"match\":\"['\\\\x{2018}-\\\\x{201B}]{2}\",\"name\":\"constant.character.escape.powershell\"}]},{\"begin\":\"(@[\\\"\\\\x{201C}-\\\\x{201E}])\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"^[\\\"\\\\x{201C}-\\\\x{201E}]@\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.double.heredoc.powershell\",\"patterns\":[{\"include\":\"#variableNoProperty\"},{\"include\":\"#doubleQuotedStringEscapes\"},{\"include\":\"#interpolation\"}]},{\"begin\":\"(@['\\\\x{2018}-\\\\x{201B}])\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"^['\\\\x{2018}-\\\\x{201B}]@\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.single.heredoc.powershell\"},{\"include\":\"#numericConstant\"},{\"begin\":\"(@)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.array.begin.powershell\"},\"2\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"name\":\"meta.group.array-expression.powershell\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"((\\\\$))(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.substatement.powershell\"},\"2\":{\"name\":\"punctuation.definition.subexpression.powershell\"},\"3\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"comment\":\"TODO: move to repo; make recursive.\",\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"name\":\"meta.group.complex.subexpression.powershell\",\"patterns\":[{\"include\":\"$self\"}]},{\"match\":\"(\\\\b(([A-Za-z0-9\\\\-_\\\\.]+)\\\\.(?i:exe|com|cmd|bat))\\\\b)\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<!\\\\w|-|\\\\.)((?i:begin|break|catch|clean|continue|data|default|define|do|dynamicparam|else|elseif|end|exit|finally|for|from|if|in|inlinescript|parallel|param|process|return|sequence|switch|throw|trap|try|until|var|while)|%|\\\\?)(?!\\\\w)\",\"name\":\"keyword.control.powershell\"},{\"match\":\"(?<!\\\\w|-|[^\\\\)]\\\\.)((?i:(foreach|where)(?!-object))|%|\\\\?)(?!\\\\w)\",\"name\":\"keyword.control.powershell\"},{\"begin\":\"(?<!\\\\w)(--%)(?!\\\\w)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.powershell\"}},\"comment\":\"This should be moved to the repository at some point.\",\"end\":\"$\",\"patterns\":[{\"match\":\".+\",\"name\":\"string.unquoted.powershell\"}]},{\"comment\":\"This should only be relevant inside a class but will require a rework of how classes are matched. This is a temp fix.\",\"match\":\"(?<!\\\\w)((?i:hidden|static))(?!\\\\w)\",\"name\":\"storage.modifier.powershell\"},{\"captures\":{\"1\":{\"name\":\"storage.type.powershell\"},\"2\":{\"name\":\"entity.name.function\"}},\"comment\":\"capture should be entity.name.type, but it doesn't provide a good color in the default schema.\",\"match\":\"(?<!\\\\w|-)((?i:class)|%|\\\\?)(?:\\\\s)+((?:\\\\p{L}|\\\\d|_|-|)+)\\\\b\"},{\"match\":\"(?<!\\\\w)-(?i:is(?:not)?|as)\\\\b\",\"name\":\"keyword.operator.comparison.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:[ic]?(?:eq|ne|[gl][te]|(?:not)?(?:like|match|contains|in)|replace))(?!\\\\p{L})\",\"name\":\"keyword.operator.comparison.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:join|split)(?!\\\\p{L})|!\",\"name\":\"keyword.operator.unary.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:and|or|not|xor)(?!\\\\p{L})|!\",\"name\":\"keyword.operator.logical.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:band|bor|bnot|bxor|shl|shr)(?!\\\\p{L})\",\"name\":\"keyword.operator.bitwise.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:f)(?!\\\\p{L})\",\"name\":\"keyword.operator.string-format.powershell\"},{\"match\":\"[+%*/-]?=|[+/*%-]\",\"name\":\"keyword.operator.assignment.powershell\"},{\"match\":\"\\\\|{2}|&{2}|;\",\"name\":\"punctuation.terminator.statement.powershell\"},{\"match\":\"&|(?<!\\\\w)\\\\.(?= )|`|,|\\\\|\",\"name\":\"keyword.operator.other.powershell\"},{\"comment\":\"This is very imprecise, is there a syntax for 'must come after...' \",\"match\":\"(?<!\\\\s|^)\\\\.\\\\.(?=\\\\-?\\\\d|\\\\(|\\\\$)\",\"name\":\"keyword.operator.range.powershell\"}],\"repository\":{\"RequiresDirective\":{\"begin\":\"(?<=#)(?i:(requires))\\\\s\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.requires.powershell\"}},\"end\":\"$\",\"name\":\"meta.requires.powershell\",\"patterns\":[{\"match\":\"\\\\-(?i:Modules|PSSnapin|RunAsAdministrator|ShellId|Version|Assembly|PSEdition)\",\"name\":\"keyword.other.powershell\"},{\"match\":\"(?<!-)\\\\b\\\\p{L}+|\\\\d+(?:\\\\.\\\\d+)*\",\"name\":\"variable.parameter.powershell\"},{\"include\":\"#hashtable\"}]},\"UsingDirective\":{\"captures\":{\"1\":{\"name\":\"keyword.control.using.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"},\"3\":{\"name\":\"variable.parameter.powershell\"}},\"match\":\"(?<!\\\\w)(?i:(using))\\\\s+(?i:(namespace|module))\\\\s+(?i:((?:\\\\w+(?:\\\\.)?)+))\"},\"attribute\":{\"begin\":\"(\\\\[)\\\\s*\\\\b(?i)(cmdletbinding|alias|outputtype|parameter|validatenotnull|validatenotnullorempty|validatecount|validateset|allownull|allowemptycollection|allowemptystring|validatescript|validaterange|validatepattern|validatelength|supportswildcards)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.bracket.begin.powershell\"},\"2\":{\"name\":\"support.function.attribute.powershell\"}},\"end\":\"(\\\\])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.bracket.end.powershell\"}},\"name\":\"meta.attribute.powershell\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"patterns\":[{\"include\":\"$self\"},{\"captures\":{\"1\":{\"name\":\"variable.parameter.attribute.powershell\"},\"2\":{\"name\":\"keyword.operator.assignment.powershell\"}},\"match\":\"(?i)\\\\b(mandatory|valuefrompipeline|valuefrompipelinebypropertyname|valuefromremainingarguments|position|parametersetname|defaultparametersetname|supportsshouldprocess|supportspaging|positionalbinding|helpuri|confirmimpact|helpmessage)\\\\b(?:\\\\s+)?(=)?\"}]}]},\"commands\":{\"patterns\":[{\"comment\":\"Verb-Noun pattern:\",\"match\":\"(?:(\\\\p{L}|\\\\d|_|-|\\\\\\\\|\\\\:)*\\\\\\\\)?\\\\b(?i:Add|Approve|Assert|Backup|Block|Build|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Deploy|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Mount|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Write)\\\\-.+?(?:\\\\.(?i:exe|cmd|bat|ps1))?\\\\b\",\"name\":\"support.function.powershell\"},{\"comment\":\"Builtin cmdlets with reserved verbs\",\"match\":\"(?<!\\\\w)(?i:foreach-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"},{\"comment\":\"Builtin cmdlets with reserved verbs\",\"match\":\"(?<!\\\\w)(?i:where-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"},{\"comment\":\"Builtin cmdlets with reserved verbs\",\"match\":\"(?<!\\\\w)(?i:sort-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"},{\"comment\":\"Builtin cmdlets with reserved verbs\",\"match\":\"(?<!\\\\w)(?i:tee-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"}]},\"commentEmbeddedDocs\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.string.documentation.powershell\"},\"2\":{\"name\":\"keyword.operator.documentation.powershell\"}},\"comment\":\"these embedded doc keywords do not support arguments, must be the only thing on the line\",\"match\":\"(?:^|\\\\G)(?i:\\\\s*(\\\\.)(COMPONENT|DESCRIPTION|EXAMPLE|FUNCTIONALITY|INPUTS|LINK|NOTES|OUTPUTS|ROLE|SYNOPSIS))\\\\s*$\",\"name\":\"comment.documentation.embedded.powershell\"},{\"captures\":{\"1\":{\"name\":\"constant.string.documentation.powershell\"},\"2\":{\"name\":\"keyword.operator.documentation.powershell\"},\"3\":{\"name\":\"keyword.operator.documentation.powershell\"}},\"comment\":\"these embedded doc keywords require arguments though the type required may be inconsistent, they may not all be able to use the same argument match\",\"match\":\"(?:^|\\\\G)(?i:\\\\s*(\\\\.)(EXTERNALHELP|FORWARDHELP(?:CATEGORY|TARGETNAME)|PARAMETER|REMOTEHELPRUNSPACE))\\\\s+(.+?)\\\\s*$\",\"name\":\"comment.documentation.embedded.powershell\"}]},\"commentLine\":{\"begin\":\"(?<![`\\\\\\\\-])(#)#*\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.powershell\"}},\"end\":\"$\\\\n?\",\"name\":\"comment.line.powershell\",\"patterns\":[{\"include\":\"#commentEmbeddedDocs\"},{\"include\":\"#RequiresDirective\"}]},\"doubleQuotedString\":{\"applyEndPatternLast\":true,\"begin\":\"[\\\"\\\\x{201C}-\\\\x{201E}]\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"[\\\"\\\\x{201C}-\\\\x{201E}]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.double.powershell\",\"patterns\":[{\"match\":\"(?i)\\\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\\\.[A-Z]{2,64}\\\\b\"},{\"include\":\"#variableNoProperty\"},{\"include\":\"#doubleQuotedStringEscapes\"},{\"match\":\"[\\\"\\\\x{201C}-\\\\x{201E}]{2}\",\"name\":\"constant.character.escape.powershell\"},{\"include\":\"#interpolation\"},{\"match\":\"`\\\\s*$\",\"name\":\"keyword.other.powershell\"}]},\"doubleQuotedStringEscapes\":{\"patterns\":[{\"match\":\"`[`0abefnrtv'\\\"\\\\x{2018}-\\\\x{201E}$]\",\"name\":\"constant.character.escape.powershell\"},{\"include\":\"#unicodeEscape\"}]},\"function\":{\"begin\":\"^(?:\\\\s*+)(?i)(function|filter|configuration|workflow)\\\\s+(?:(global|local|script|private):)?((?:\\\\p{L}|\\\\d|_|-|\\\\.)+)\",\"beginCaptures\":{\"0\":{\"name\":\"meta.function.powershell\"},\"1\":{\"name\":\"storage.type.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"3\":{\"name\":\"entity.name.function.powershell\"}},\"end\":\"(?=\\\\{|\\\\()\",\"patterns\":[{\"include\":\"#commentLine\"}]},\"hashtable\":{\"begin\":\"(@)(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.hashtable.begin.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin.powershell\"}},\"end\":\"(\\\\})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.braces.end.powershell\"}},\"name\":\"meta.hashtable.powershell\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.powershell\"},\"2\":{\"name\":\"variable.other.readwrite.powershell\"},\"3\":{\"name\":\"punctuation.definition.string.end.powershell\"},\"4\":{\"name\":\"keyword.operator.assignment.powershell\"}},\"match\":\"\\\\b((?:\\\\'|\\\\\\\")?)(\\\\w+)((?:\\\\'|\\\\\\\")?)(?:\\\\s+)?(=)(?:\\\\s+)?\",\"name\":\"meta.hashtable.assignment.powershell\"},{\"include\":\"#scriptblock\"},{\"include\":\"$self\"}]},\"interpolation\":{\"begin\":\"(((\\\\$)))((\\\\())\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.substatement.powershell\"},\"2\":{\"name\":\"punctuation.definition.substatement.powershell\"},\"3\":{\"name\":\"punctuation.section.embedded.substatement.begin.powershell\"},\"4\":{\"name\":\"punctuation.section.group.begin.powershell\"},\"5\":{\"name\":\"punctuation.section.embedded.substatement.begin.powershell\"}},\"contentName\":\"interpolated.complex.source.powershell\",\"end\":\"(\\\\))\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"},\"1\":{\"name\":\"punctuation.section.embedded.substatement.end.powershell\"}},\"name\":\"meta.embedded.substatement.powershell\",\"patterns\":[{\"include\":\"$self\"}]},\"numericConstant\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.hex.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?0(?:x|X)[0-9a-fA-F_]+(?:U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?(?:[0-9_]+)?\\\\.[0-9_]+(?:(?:e|E)[0-9]+)?(?:F|f|D|d|M|m)?)((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.octal.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?0(?:b|B)[01_]+(?:U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+(?:e|E)(?:[0-9_])?+(?:F|f|D|d|M|m)?)((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+\\\\.(?:e|E)(?:[0-9_])?+(?:F|f|D|d|M|m)?)((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+[\\\\.]?(?:F|f|D|d|M|m))((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+[\\\\.]?(?:U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[kmgtp]b)?)\\\\b\"}]},\"scriptblock\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.braces.begin.powershell\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.braces.end.powershell\"}},\"name\":\"meta.scriptblock.powershell\",\"patterns\":[{\"include\":\"$self\"}]},\"subexpression\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"name\":\"meta.group.simple.subexpression.powershell\",\"patterns\":[{\"include\":\"$self\"}]},\"type\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.bracket.begin.powershell\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.bracket.end.powershell\"}},\"patterns\":[{\"match\":\"(?!\\\\d+|\\\\.)(?:\\\\p{L}|\\\\p{N}|\\\\.)+\",\"name\":\"storage.type.powershell\"},{\"include\":\"$self\"}]},\"unicodeEscape\":{\"comment\":\"`u{xxxx} added in PowerShell 6.0\",\"patterns\":[{\"match\":\"`u\\\\{(?:(?:10)?([0-9a-fA-F]){1,4}|0?\\\\g<1>{1,5})}\",\"name\":\"constant.character.escape.powershell\"},{\"match\":\"`u(?:\\\\{[0-9a-fA-F]{,6}.)?\",\"name\":\"invalid.character.escape.powershell\"}]},\"variable\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"constant.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"}},\"comment\":\"These are special constants.\",\"match\":\"(\\\\$)(?i:(False|Null|True))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"support.constant.variable.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"comment\":\"These are the other built-in constants.\",\"match\":\"(\\\\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\\\\b\"},{\"captures\":{\"0\":{\"name\":\"support.variable.automatic.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"comment\":\"Automatic variables are not constants, but they are read-only. In monokai (default) color schema support.variable doesn't have color, so we use constant.\",\"match\":\"(\\\\$)((?:[$^?])|(?i:_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This)\\\\b)((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"comment\":\"Style preference variables as language variables so that they stand out.\",\"match\":\"(\\\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\\\\b\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$|@)(global|local|private|script|using|workflow):((?:\\\\p{L}|\\\\d|_)+))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin.powershell\"},\"3\":{\"name\":\"storage.modifier.scope.powershell\"},\"5\":{\"name\":\"punctuation.section.braces.end.powershell\"},\"6\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(\\\\{)(global|local|private|script|using|workflow):([^}]*[^}`])(\\\\}))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"support.variable.drive.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$|@)((?:\\\\p{L}|\\\\d|_)+:)?((?:\\\\p{L}|\\\\d|_)+))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin.powershell\"},\"3\":{\"name\":\"support.variable.drive.powershell\"},\"5\":{\"name\":\"punctuation.section.braces.end.powershell\"},\"6\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(\\\\{)((?:\\\\p{L}|\\\\d|_)+:)?([^}]*[^}`])(\\\\}))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\"}]},\"variableNoProperty\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"constant.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"}},\"comment\":\"These are special constants.\",\"match\":\"(\\\\$)(?i:(False|Null|True))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"support.constant.variable.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"comment\":\"These are the other built-in constants.\",\"match\":\"(\\\\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"support.variable.automatic.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"comment\":\"Automatic variables are not constants, but they are read-only...\",\"match\":\"(\\\\$)((?:[$^?])|(?i:_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This)\\\\b)\"},{\"captures\":{\"0\":{\"name\":\"variable.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"comment\":\"Style preference variables as language variables so that they stand out.\",\"match\":\"(\\\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(global|local|private|script|using|workflow):((?:\\\\p{L}|\\\\d|_)+))\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"4\":{\"name\":\"keyword.other.powershell\"},\"5\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(\\\\{)(global|local|private|script|using|workflow):([^}]*[^}`])(\\\\}))\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"support.variable.drive.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)((?:\\\\p{L}|\\\\d|_)+:)?((?:\\\\p{L}|\\\\d|_)+))\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin\"},\"3\":{\"name\":\"support.variable.drive.powershell\"},\"5\":{\"name\":\"punctuation.section.braces.end\"}},\"match\":\"(?i:(\\\\$)(\\\\{)((?:\\\\p{L}|\\\\d|_)+:)?([^}]*[^}`])(\\\\}))\"}]}},\"scopeName\":\"source.powershell\",\"aliases\":[\"ps\",\"ps1\"]}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"PowerShell\",\"name\":\"powershell\",\"patterns\":[{\"begin\":\"<#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.block.begin.powershell\"}},\"end\":\"#>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.block.end.powershell\"}},\"name\":\"comment.block.powershell\",\"patterns\":[{\"include\":\"#commentEmbeddedDocs\"}]},{\"match\":\"[2-6]>&1|>>|>|<<|<|>|>\\\\||[1-6]>|[1-6]>>\",\"name\":\"keyword.operator.redirection.powershell\"},{\"include\":\"#commands\"},{\"include\":\"#commentLine\"},{\"include\":\"#variable\"},{\"include\":\"#subexpression\"},{\"include\":\"#function\"},{\"include\":\"#attribute\"},{\"include\":\"#UsingDirective\"},{\"include\":\"#type\"},{\"include\":\"#hashtable\"},{\"include\":\"#doubleQuotedString\"},{\"include\":\"#scriptblock\"},{\"include\":\"#doubleQuotedStringEscapes\"},{\"applyEndPatternLast\":true,\"begin\":\"['\\\\x{2018}-\\\\x{201B}]\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"['\\\\x{2018}-\\\\x{201B}]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.single.powershell\",\"patterns\":[{\"match\":\"['\\\\x{2018}-\\\\x{201B}]{2}\",\"name\":\"constant.character.escape.powershell\"}]},{\"begin\":\"(@[\\\"\\\\x{201C}-\\\\x{201E}])\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"^[\\\"\\\\x{201C}-\\\\x{201E}]@\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.double.heredoc.powershell\",\"patterns\":[{\"include\":\"#variableNoProperty\"},{\"include\":\"#doubleQuotedStringEscapes\"},{\"include\":\"#interpolation\"}]},{\"begin\":\"(@['\\\\x{2018}-\\\\x{201B}])\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"^['\\\\x{2018}-\\\\x{201B}]@\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.single.heredoc.powershell\"},{\"include\":\"#numericConstant\"},{\"begin\":\"(@)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.array.begin.powershell\"},\"2\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"name\":\"meta.group.array-expression.powershell\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"((\\\\$))(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.substatement.powershell\"},\"2\":{\"name\":\"punctuation.definition.subexpression.powershell\"},\"3\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"name\":\"meta.group.complex.subexpression.powershell\",\"patterns\":[{\"include\":\"$self\"}]},{\"match\":\"(\\\\b(([A-Za-z0-9\\\\-_\\\\.]+)\\\\.(?i:exe|com|cmd|bat))\\\\b)\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<!\\\\w|-|\\\\.)((?i:begin|break|catch|clean|continue|data|default|define|do|dynamicparam|else|elseif|end|exit|finally|for|from|if|in|inlinescript|parallel|param|process|return|sequence|switch|throw|trap|try|until|var|while)|%|\\\\?)(?!\\\\w)\",\"name\":\"keyword.control.powershell\"},{\"match\":\"(?<!\\\\w|-|[^\\\\)]\\\\.)((?i:(foreach|where)(?!-object))|%|\\\\?)(?!\\\\w)\",\"name\":\"keyword.control.powershell\"},{\"begin\":\"(?<!\\\\w)(--%)(?!\\\\w)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.powershell\"}},\"end\":\"$\",\"patterns\":[{\"match\":\".+\",\"name\":\"string.unquoted.powershell\"}]},{\"match\":\"(?<!\\\\w)((?i:hidden|static))(?!\\\\w)\",\"name\":\"storage.modifier.powershell\"},{\"captures\":{\"1\":{\"name\":\"storage.type.powershell\"},\"2\":{\"name\":\"entity.name.function\"}},\"match\":\"(?<!\\\\w|-)((?i:class)|%|\\\\?)(?:\\\\s)+((?:\\\\p{L}|\\\\d|_|-|)+)\\\\b\"},{\"match\":\"(?<!\\\\w)-(?i:is(?:not)?|as)\\\\b\",\"name\":\"keyword.operator.comparison.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:[ic]?(?:eq|ne|[gl][te]|(?:not)?(?:like|match|contains|in)|replace))(?!\\\\p{L})\",\"name\":\"keyword.operator.comparison.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:join|split)(?!\\\\p{L})|!\",\"name\":\"keyword.operator.unary.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:and|or|not|xor)(?!\\\\p{L})|!\",\"name\":\"keyword.operator.logical.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:band|bor|bnot|bxor|shl|shr)(?!\\\\p{L})\",\"name\":\"keyword.operator.bitwise.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:f)(?!\\\\p{L})\",\"name\":\"keyword.operator.string-format.powershell\"},{\"match\":\"[+%*/-]?=|[+/*%-]\",\"name\":\"keyword.operator.assignment.powershell\"},{\"match\":\"\\\\|{2}|&{2}|;\",\"name\":\"punctuation.terminator.statement.powershell\"},{\"match\":\"&|(?<!\\\\w)\\\\.(?= )|`|,|\\\\|\",\"name\":\"keyword.operator.other.powershell\"},{\"match\":\"(?<!\\\\s|^)\\\\.\\\\.(?=\\\\-?\\\\d|\\\\(|\\\\$)\",\"name\":\"keyword.operator.range.powershell\"}],\"repository\":{\"RequiresDirective\":{\"begin\":\"(?<=#)(?i:(requires))\\\\s\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.requires.powershell\"}},\"end\":\"$\",\"name\":\"meta.requires.powershell\",\"patterns\":[{\"match\":\"\\\\-(?i:Modules|PSSnapin|RunAsAdministrator|ShellId|Version|Assembly|PSEdition)\",\"name\":\"keyword.other.powershell\"},{\"match\":\"(?<!-)\\\\b\\\\p{L}+|\\\\d+(?:\\\\.\\\\d+)*\",\"name\":\"variable.parameter.powershell\"},{\"include\":\"#hashtable\"}]},\"UsingDirective\":{\"captures\":{\"1\":{\"name\":\"keyword.control.using.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"},\"3\":{\"name\":\"variable.parameter.powershell\"}},\"match\":\"(?<!\\\\w)(?i:(using))\\\\s+(?i:(namespace|module))\\\\s+(?i:((?:\\\\w+(?:\\\\.)?)+))\"},\"attribute\":{\"begin\":\"(\\\\[)\\\\s*\\\\b(?i)(cmdletbinding|alias|outputtype|parameter|validatenotnull|validatenotnullorempty|validatecount|validateset|allownull|allowemptycollection|allowemptystring|validatescript|validaterange|validatepattern|validatelength|supportswildcards)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.bracket.begin.powershell\"},\"2\":{\"name\":\"support.function.attribute.powershell\"}},\"end\":\"(\\\\])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.bracket.end.powershell\"}},\"name\":\"meta.attribute.powershell\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"patterns\":[{\"include\":\"$self\"},{\"captures\":{\"1\":{\"name\":\"variable.parameter.attribute.powershell\"},\"2\":{\"name\":\"keyword.operator.assignment.powershell\"}},\"match\":\"(?i)\\\\b(mandatory|valuefrompipeline|valuefrompipelinebypropertyname|valuefromremainingarguments|position|parametersetname|defaultparametersetname|supportsshouldprocess|supportspaging|positionalbinding|helpuri|confirmimpact|helpmessage)\\\\b(?:\\\\s+)?(=)?\"}]}]},\"commands\":{\"patterns\":[{\"match\":\"(?:(\\\\p{L}|\\\\d|_|-|\\\\\\\\|\\\\:)*\\\\\\\\)?\\\\b(?i:Add|Approve|Assert|Backup|Block|Build|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Deploy|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Mount|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Write)\\\\-.+?(?:\\\\.(?i:exe|cmd|bat|ps1))?\\\\b\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<!\\\\w)(?i:foreach-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<!\\\\w)(?i:where-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<!\\\\w)(?i:sort-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<!\\\\w)(?i:tee-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"}]},\"commentEmbeddedDocs\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.string.documentation.powershell\"},\"2\":{\"name\":\"keyword.operator.documentation.powershell\"}},\"match\":\"(?:^|\\\\G)(?i:\\\\s*(\\\\.)(COMPONENT|DESCRIPTION|EXAMPLE|FUNCTIONALITY|INPUTS|LINK|NOTES|OUTPUTS|ROLE|SYNOPSIS))\\\\s*$\",\"name\":\"comment.documentation.embedded.powershell\"},{\"captures\":{\"1\":{\"name\":\"constant.string.documentation.powershell\"},\"2\":{\"name\":\"keyword.operator.documentation.powershell\"},\"3\":{\"name\":\"keyword.operator.documentation.powershell\"}},\"match\":\"(?:^|\\\\G)(?i:\\\\s*(\\\\.)(EXTERNALHELP|FORWARDHELP(?:CATEGORY|TARGETNAME)|PARAMETER|REMOTEHELPRUNSPACE))\\\\s+(.+?)\\\\s*$\",\"name\":\"comment.documentation.embedded.powershell\"}]},\"commentLine\":{\"begin\":\"(?<![`\\\\\\\\-])(#)#*\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.powershell\"}},\"end\":\"$\\\\n?\",\"name\":\"comment.line.powershell\",\"patterns\":[{\"include\":\"#commentEmbeddedDocs\"},{\"include\":\"#RequiresDirective\"}]},\"doubleQuotedString\":{\"applyEndPatternLast\":true,\"begin\":\"[\\\"\\\\x{201C}-\\\\x{201E}]\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"[\\\"\\\\x{201C}-\\\\x{201E}]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.double.powershell\",\"patterns\":[{\"match\":\"(?i)\\\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\\\.[A-Z]{2,64}\\\\b\"},{\"include\":\"#variableNoProperty\"},{\"include\":\"#doubleQuotedStringEscapes\"},{\"match\":\"[\\\"\\\\x{201C}-\\\\x{201E}]{2}\",\"name\":\"constant.character.escape.powershell\"},{\"include\":\"#interpolation\"},{\"match\":\"`\\\\s*$\",\"name\":\"keyword.other.powershell\"}]},\"doubleQuotedStringEscapes\":{\"patterns\":[{\"match\":\"`[`0abefnrtv'\\\"\\\\x{2018}-\\\\x{201E}$]\",\"name\":\"constant.character.escape.powershell\"},{\"include\":\"#unicodeEscape\"}]},\"function\":{\"begin\":\"^(?:\\\\s*+)(?i)(function|filter|configuration|workflow)\\\\s+(?:(global|local|script|private):)?((?:\\\\p{L}|\\\\d|_|-|\\\\.)+)\",\"beginCaptures\":{\"0\":{\"name\":\"meta.function.powershell\"},\"1\":{\"name\":\"storage.type.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"3\":{\"name\":\"entity.name.function.powershell\"}},\"end\":\"(?=\\\\{|\\\\()\",\"patterns\":[{\"include\":\"#commentLine\"}]},\"hashtable\":{\"begin\":\"(@)(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.hashtable.begin.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin.powershell\"}},\"end\":\"(\\\\})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.braces.end.powershell\"}},\"name\":\"meta.hashtable.powershell\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.powershell\"},\"2\":{\"name\":\"variable.other.readwrite.powershell\"},\"3\":{\"name\":\"punctuation.definition.string.end.powershell\"},\"4\":{\"name\":\"keyword.operator.assignment.powershell\"}},\"match\":\"\\\\b((?:\\\\'|\\\\\\\")?)(\\\\w+)((?:\\\\'|\\\\\\\")?)(?:\\\\s+)?(=)(?:\\\\s+)?\",\"name\":\"meta.hashtable.assignment.powershell\"},{\"include\":\"#scriptblock\"},{\"include\":\"$self\"}]},\"interpolation\":{\"begin\":\"(((\\\\$)))((\\\\())\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.substatement.powershell\"},\"2\":{\"name\":\"punctuation.definition.substatement.powershell\"},\"3\":{\"name\":\"punctuation.section.embedded.substatement.begin.powershell\"},\"4\":{\"name\":\"punctuation.section.group.begin.powershell\"},\"5\":{\"name\":\"punctuation.section.embedded.substatement.begin.powershell\"}},\"contentName\":\"interpolated.complex.source.powershell\",\"end\":\"(\\\\))\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"},\"1\":{\"name\":\"punctuation.section.embedded.substatement.end.powershell\"}},\"name\":\"meta.embedded.substatement.powershell\",\"patterns\":[{\"include\":\"$self\"}]},\"numericConstant\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.hex.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?0(?:x|X)[0-9a-fA-F_]+(?:U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?(?:[0-9_]+)?\\\\.[0-9_]+(?:(?:e|E)[0-9]+)?(?:F|f|D|d|M|m)?)((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.octal.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?0(?:b|B)[01_]+(?:U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+(?:e|E)(?:[0-9_])?+(?:F|f|D|d|M|m)?)((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+\\\\.(?:e|E)(?:[0-9_])?+(?:F|f|D|d|M|m)?)((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+[\\\\.]?(?:F|f|D|d|M|m))((?i:[kmgtp]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+[\\\\.]?(?:U|u|L|l|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[kmgtp]b)?)\\\\b\"}]},\"scriptblock\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.braces.begin.powershell\"}},\"end\":\"\\\\}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.braces.end.powershell\"}},\"name\":\"meta.scriptblock.powershell\",\"patterns\":[{\"include\":\"$self\"}]},\"subexpression\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"name\":\"meta.group.simple.subexpression.powershell\",\"patterns\":[{\"include\":\"$self\"}]},\"type\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.bracket.begin.powershell\"}},\"end\":\"\\\\]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.bracket.end.powershell\"}},\"patterns\":[{\"match\":\"(?!\\\\d+|\\\\.)(?:\\\\p{L}|\\\\p{N}|\\\\.)+\",\"name\":\"storage.type.powershell\"},{\"include\":\"$self\"}]},\"unicodeEscape\":{\"patterns\":[{\"match\":\"`u\\\\{(?:(?:10)?([0-9a-fA-F]){1,4}|0?\\\\g<1>{1,5})}\",\"name\":\"constant.character.escape.powershell\"},{\"match\":\"`u(?:\\\\{[0-9a-fA-F]{,6}.)?\",\"name\":\"invalid.character.escape.powershell\"}]},\"variable\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"constant.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"}},\"match\":\"(\\\\$)(?i:(False|Null|True))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"support.constant.variable.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\\\\b\"},{\"captures\":{\"0\":{\"name\":\"support.variable.automatic.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)((?:[$^?])|(?i:_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This)\\\\b)((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\\\\b\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$|@)(global|local|private|script|using|workflow):((?:\\\\p{L}|\\\\d|_)+))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin.powershell\"},\"3\":{\"name\":\"storage.modifier.scope.powershell\"},\"5\":{\"name\":\"punctuation.section.braces.end.powershell\"},\"6\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(\\\\{)(global|local|private|script|using|workflow):([^}]*[^}`])(\\\\}))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"support.variable.drive.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$|@)((?:\\\\p{L}|\\\\d|_)+:)?((?:\\\\p{L}|\\\\d|_)+))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin.powershell\"},\"3\":{\"name\":\"support.variable.drive.powershell\"},\"5\":{\"name\":\"punctuation.section.braces.end.powershell\"},\"6\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(\\\\{)((?:\\\\p{L}|\\\\d|_)+:)?([^}]*[^}`])(\\\\}))((?:\\\\.(?:\\\\p{L}|\\\\d|_)+)*\\\\b)?\"}]},\"variableNoProperty\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"constant.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"}},\"match\":\"(\\\\$)(?i:(False|Null|True))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"support.constant.variable.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"support.variable.automatic.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)((?:[$^?])|(?i:_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This)\\\\b)\"},{\"captures\":{\"0\":{\"name\":\"variable.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(global|local|private|script|using|workflow):((?:\\\\p{L}|\\\\d|_)+))\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"4\":{\"name\":\"keyword.other.powershell\"},\"5\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(\\\\{)(global|local|private|script|using|workflow):([^}]*[^}`])(\\\\}))\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"support.variable.drive.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)((?:\\\\p{L}|\\\\d|_)+:)?((?:\\\\p{L}|\\\\d|_)+))\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin\"},\"3\":{\"name\":\"support.variable.drive.powershell\"},\"5\":{\"name\":\"punctuation.section.braces.end\"}},\"match\":\"(?i:(\\\\$)(\\\\{)((?:\\\\p{L}|\\\\d|_)+:)?([^}]*[^}`])(\\\\}))\"}]}},\"scopeName\":\"source.powershell\",\"aliases\":[\"ps\",\"ps1\"]}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|