[smuxi: 82/111] Engine: don't match final ! in URLs
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 82/111] Engine: don't match final ! in URLs
- Date: Sun, 16 Feb 2014 13:19:58 +0000 (UTC)
commit 68229d5c4ea47b8aa044f89a68dee774d486db70
Author: Mirco Bauer <meebey meebey net>
Date: Sat Jan 18 13:43:13 2014 +0100
Engine: don't match final ! in URLs
src/Engine/Config/MessageBuilderSettings.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Engine/Config/MessageBuilderSettings.cs b/src/Engine/Config/MessageBuilderSettings.cs
index d219aa1..0b58e9d 100644
--- a/src/Engine/Config/MessageBuilderSettings.cs
+++ b/src/Engine/Config/MessageBuilderSettings.cs
@@ -64,8 +64,8 @@ namespace Smuxi.Engine
static void InitBuiltinSmartLinks()
{
- string path_last_chars = @"a-zA-Z0-9#/%&=\-_+;~!";
- string path_chars = path_last_chars + @")(?.,";
+ string path_last_chars = @"a-zA-Z0-9#/%&=\-_+;~";
+ string path_chars = path_last_chars + @")(?!.,";
string domainchars = @"[a-z0-9\-]+";
string subdomain = domainchars + @"\.";
string common_tld = @"de|es|im|us|com|net|org|info|biz|gov|name|edu|onion|museum";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]