diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2013-08-22 09:43:29 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2013-08-22 09:43:29 +0400 |
commit | 71ff7d1b2af73e7aa1e2e1ff9a807b4fc70cfdb7 (patch) | |
tree | 32a1b6dea23aeb09b69d24e03849b898e86f999d /main/src | |
parent | 7c6b1b67ef6d5d7b092ad7953921c78677857c13 (diff) |
Fixed 'Bug 14133 - URLs containing commas are not properly formatted'.
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SemanticRule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SemanticRule.cs b/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SemanticRule.cs index 7fa85b554f..c19851e80a 100644 --- a/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SemanticRule.cs +++ b/main/src/core/Mono.Texteditor/Mono.TextEditor.Highlighting/SemanticRule.cs @@ -40,7 +40,7 @@ namespace Mono.TextEditor public class HighlightUrlSemanticRule : SemanticRule { - const string urlRegexStr = @"(http|ftp)s?\:\/\/[\w\d\._/\-~%@()+:?&=#!]*[\w\d/]"; + const string urlRegexStr = @"(http|ftp)s?\:\/\/[\w\d\.,;_/\-~%@()+:?&^=#!]*[\w\d/]"; public static readonly Regex UrlRegex = new Regex (urlRegexStr, RegexOptions.Compiled | RegexOptions.ExplicitCapture); public static readonly Regex MailRegex = new Regex (@"[\w\d._%+-]+@[\w\d.-]+\.\w{2,4}", RegexOptions.Compiled); |