mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
Fix #40279 - rewrite php grammar rule to avoid regex that hangs vscode-textmate
This commit is contained in:
@@ -2430,7 +2430,7 @@
|
||||
"scope-resolution": {
|
||||
"patterns": [
|
||||
{
|
||||
"match": "(?i)([a-z_\\x{7f}-\\x{7fffffff}\\\\][a-z0-9_\\x{7f}-\\x{7fffffff}\\\\]*)(?=\\s*::)",
|
||||
"match": "([A-Za-z_\\x{7f}-\\x{7fffffff}\\\\][A_Za-z0-9_\\x{7f}-\\x{7fffffff}\\\\]*)(?=\\s*::)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"patterns": [
|
||||
|
||||
Reference in New Issue
Block a user