Permalink
Browse files

• require non-word characters around _italic_ to stop matching snake_…

…case_words as having partial italic.

Patch from Daryl Spitzer

git-svn-id: http://svn.textmate.org/trunk/Bundles/Twiki.tmbundle@6987 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 9723d6b commit f9d0d804d15dc784254292b8ba87633cd8d3361a @sorbits sorbits committed Apr 13, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 Syntaxes/Twiki.plist
View
@@ -482,7 +482,7 @@
</dict>
</dict>
<key>match</key>
- <string>(_)[\s\w :.\?']*(_)</string>
+ <string>\b(_)[\s\w :.\?']*(_)\b</string>
<key>name</key>
<string>markup.italic.twiki</string>
</dict>

0 comments on commit f9d0d80

Please sign in to comment.