Skip to content

Commit 21f605f

Browse files
committed
Support unicode class/function names in the symbol list
1 parent 97cbc57 commit 21f605f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Preferences/Symbol List.tmPreferences

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
55
<key>name</key>
@@ -12,8 +12,8 @@
1212
<integer>1</integer>
1313
<key>symbolTransformation</key>
1414
<string>
15-
s/class\s+([A-Za-z_][A-Za-z0-9_]*.+?\)?)(\:|$)/$1/g;
16-
s/def\s+([A-Za-z_][A-Za-z0-9_]*\()(?:(.{,40}?\))|((.{40}).+?\)))(\:)/$1(?2:$2)(?3:$4…\))/g;
15+
s/class\s+([[:alpha:]_][[:alnum:]_]*.+?\)?)(\:|$)/$1/g;
16+
s/def\s+([[:alpha:]_][[:alnum:]_]*\()(?:(.{,40}?\))|((.{40}).+?\)))(\:)/$1(?2:$2)(?3:$4…\))/g;
1717
</string>
1818
</dict>
1919
<key>uuid</key>

0 commit comments

Comments
 (0)