grammars/source.perl6fe.json in github-linguist-5.0.10 vs grammars/source.perl6fe.json in github-linguist-5.0.11
- old
+ new
@@ -552,11 +552,12 @@
"name": "punctuation.definition.regexp.perl6fe"
}
}
},
{
- "begin": "(?x)\n(?<= ^|[=,(\\[~]|when|=> ) \\s*\n(?:\n (m|rx|s)\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n) # With the m or rx\n\\s*\n([/]) # Solidus",
+ "begin": "(?x)\n(?<= [=,(\\[]|when|=>|~~) \\s*\n(?:\n (m|rx|s)?\n (\n (?:\n (?<!:P5) # < This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # < include p5_regex above it\n )*\n )\n) # With the m or rx\n\\s*\n([/]) # Solidus",
+ "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\)|(?<!')|(?<=\\\\ ') ) (/)",
"beginCaptures": {
"1": {
"name": "string.regexp.construct.perl6fe"
},
"2": {
@@ -564,11 +565,10 @@
},
"3": {
"name": "punctuation.definition.regexp.perl6fe"
}
},
- "end": "(?x) (?: (?<!\\\\)|(?<=\\\\\\\\)|(?<!')|(?<=\\\\ ') ) (/)",
"endCaptures": {
"1": {
"name": "punctuation.definition.regexp.perl6fe"
}
},
@@ -1032,10 +1032,10 @@
{
"match": "\\b(True|False)\\b",
"name": "constant.language.boolean.perl6fe"
},
{
- "match": "(?x)\\b(?<![\\-:])( fatal|internals|MONKEY\\-TYPING|nqp|QAST| strict|trace|worries|invocant|parameters|experimental| cur|soft|variables|attributes|v6(?:\\.\\w)*|lib|Test|NativeCall )(?!\\-) \\b (?!\\s*=>)",
+ "match": "(?x)\\b(?<![\\-:])( fatal|internals| MONKEY\\-(?:TYPING|SEE\\-NO\\-EVAL|BRAINS|GUTS|BUSINESS|TRAP|SHINE|WRENCH|BARS)| nqp|QAST|strict|trace|worries|invocant|parameters|experimental| cur|soft|variables|attributes|v6(?:\\.\\w)*|lib|Test|NativeCall )(?!\\-) \\b (?!\\s*=>)",
"name": "constant.language.pragma.perl6fe"
},
{
"match": "(?x)(?<![:\\-\\w]) (Backtrace|Exception|Failure|X) (?: \\:\\:[a-zA-Z]+ )* \\b",
"captures": {
\ No newline at end of file