Skip to content
Browse files

Don't allow URLs to end in - or #

  • Loading branch information...
1 parent 570d257 commit e810aecb68db0f036167e3356188508871e7ea69 @infininight infininight committed Aug 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Syntaxes/Hyperlink.tmLanguage
View
2 Syntaxes/Hyperlink.tmLanguage
@@ -14,7 +14,7 @@
<key>match</key>
<string>(?x)
( (https?|s?ftp|ftps|file|smb|afp|nfs|(x-)?man(-page)?|gopher|txmt|issue)://|mailto:)
- [-:@a-zA-Z0-9_.,~%+/?=&amp;#]+(?&lt;![.,?:])
+ [-:@a-zA-Z0-9_.,~%+/?=&amp;#]+(?&lt;![-.,?:#])
</string>
<key>name</key>
<string>markup.underline.link.$2.hyperlink</string>

0 comments on commit e810aec

Please sign in to comment.
Something went wrong with that request. Please try again.