We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
meta.dotted-name.python
1 parent 095560e commit b38db21Copy full SHA for b38db21
PythonImproved-Unicode.YAML-tmLanguage
@@ -578,9 +578,9 @@ repository:
578
- include: '#string_quoted_single'
579
580
dotted_name:
581
- begin: (?x)(?=(?:\.(?!\s+import)\s*)?[\p{Alpha}_][\p{Alnum}_]*(?:\s*\.\s*[\p{Alpha}_][\p{Alnum}_]*)*)
582
- end: (?x)(?![\p{Alnum}_\.\s])|(?=(?<!\.)\s+[^.])|$
583
- contentName: meta.dotted-name.python
+ begin: (?=(?:\.(?!\s+import)\s*)?[\p{Alpha}_][\p{Alnum}_]*(?:\s*\.\s*[\p{Alpha}_][\p{Alnum}_]*)*)
+ end: (?![\p{Alnum}_\.\s])|(?=(?<!\.)\s+[^.])|$
+ # contentName: meta.dotted-name.python
584
patterns:
585
- begin: (\.)(?=[\p{Alpha}_][\p{Alnum}_]*)
586
beginCaptures:
0 commit comments