|
@@ -179,7 +179,7 @@ endif
|
179
|
179
|
"
|
180
|
180
|
|
181
|
181
|
syn match pythonDecorator "@" display nextgroup=pythonDottedName skipwhite
|
182
|
|
-syn match pythonDottedName "[a-zA-Z_][a-zA-Z0-9_]*\%(\.[a-zA-Z_][a-zA-Z0-9_]*\)*" display contained
|
|
182
|
+syn match pythonDottedName "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\%(\.\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\)*" display contained
|
183
|
183
|
syn match pythonDot "\." display containedin=pythonDottedName
|
184
|
184
|
|
185
|
185
|
"
|