You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Syntaxes/Regular Expressions (Python).tmLanguage
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
-
<!DOCTYPEplist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
2
+
<!DOCTYPEplist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
3
<plistversion="1.0">
4
4
<dict>
5
5
<key>comment</key>
@@ -44,7 +44,7 @@
44
44
<key>begin</key>
45
45
<string>\(\?\#</string>
46
46
<key>end</key>
47
-
<string>\)</string>
47
+
<string>\)|(?="""|''')</string>
48
48
<key>name</key>
49
49
<string>comment.block.regexp</string>
50
50
</dict>
@@ -105,7 +105,7 @@
105
105
</dict>
106
106
</dict>
107
107
<key>end</key>
108
-
<string>(\))</string>
108
+
<string>(\))|(?="""|''')</string>
109
109
<key>endCaptures</key>
110
110
<dict>
111
111
<key>1</key>
@@ -148,7 +148,7 @@
148
148
<key>comment</key>
149
149
<string>we can make this more sophisticated to match the | character that separates yes-pattern from no-pattern, but it's not really necessary.</string>
0 commit comments