- symbol.brackets: "[(){}]|\\[|\\]"
- constant.string:
- start: "\""
- end: "(?<!\\\\)\""
+ start: "\"\"\""
+ end: "\"\"\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
- start: "'"
- end: "(?<!\\\\)'"
+ start: "'''"
+ end: "'''"
rules:
- constant.specialChar: "\\\\."
- constant.string:
- start: "\"\"\""
- end: "\"\"\""
+ start: "\""
+ end: "\""
+ skip: "\\\\."
rules:
- constant.specialChar: "\\\\."
- constant.string:
- start: "'''"
- end: "'''"
+ start: "'"
+ end: "'"
+ skip: "\\\\."
rules:
- constant.specialChar: "\\\\."