Permalink
Browse files

fixing the regexp that captures \sections

previously it didn't capture unnumbered sections or chapters
  • Loading branch information...
pkazmierczak committed Feb 18, 2013
1 parent 26ca0b2 commit 4820ebaf305da0117e90896d813d0e0c54c88780
Showing with 1 addition and 1 deletion.
  1. +1 −1 Symbol List - Sections.tmPreferences
@@ -12,7 +12,7 @@
<integer>1</integer>
<key>symbolTransformation</key>
<string>
- s/\\(?:sub)*(.)(?:ection|hapter)\{([^\}]+)\}/\u$1 $2/g;
+ s/\\(?:sub)*(.)(?:ection|hapter)(?:\*)?\{([^\}]+)\}/\u$1 $2/g;
</string>
</dict>
<key>uuid</key>

0 comments on commit 4820eba

Please sign in to comment.