[Tkabber-dev] r1974 - in trunk/tkabber: . plugins/richtext

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Mon Dec 20 23:27:17 MSK 2010


Author: sergei
Date: 2010-12-20 23:27:16 +0300 (Mon, 20 Dec 2010)
New Revision: 1974

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/plugins/richtext/urls.tcl
Log:
	* plugins/richtext/urls.tcl: Added several TLDs to the URL regexp.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2010-12-03 02:10:43 UTC (rev 1973)
+++ trunk/tkabber/ChangeLog	2010-12-20 20:27:16 UTC (rev 1974)
@@ -1,3 +1,7 @@
+2010-12-20  Sergei Golovan  <sgolovan at nes.ru>
+
+	* plugins/richtext/urls.tcl: Added several TLDs to the URL regexp.
+
 2010-11-18  Sergei Golovan  <sgolovan at nes.ru>
 
 	* register.tcl: Added missing commands argument to the Unregister

Modified: trunk/tkabber/plugins/richtext/urls.tcl
===================================================================
--- trunk/tkabber/plugins/richtext/urls.tcl	2010-12-03 02:10:43 UTC (rev 1973)
+++ trunk/tkabber/plugins/richtext/urls.tcl	2010-12-20 20:27:16 UTC (rev 1974)
@@ -18,7 +18,7 @@
 	    (?:
 		(?: ftp|https?)://[-\w]+(\.\w[-\w]*)*
 		  |
-		(?: [a-z0-9][-a-z0-9]* \. )+
+		(?: \w[-\w]* \. )+
 		(?: com
 		  | edu
 		  | biz
@@ -35,6 +35,63 @@
 		  | pro
 		  | travel
 		  | asia
+		  | cat
+		  | jobs
+		  | mobi
+		  | tel
+		  | xn-- (?: 0zwm56d
+			   | 11b5bs3a9aj6g
+			   | 80akhbyknj4f
+			   | 9t4b11yi5a
+			   | deba0ad
+			   | fiqs8s
+			   | fiqz9s
+			   | fzc2c9e2c
+			   | g6w251d
+			   | hgbk6aj7f53bba
+			   | hlcj6aya9esc7a
+			   | j6w193g
+			   | jxalpdlp
+			   | kgbechtv
+			   | kprw13d
+			   | kpry57d
+			   | mgbaam7a8h
+			   | mgbayh7gpa
+			   | mgberp4a5d4ar
+			   | o3cw4h
+			   | p1ai
+			   | pgbs0dh
+			   | wgbh1c
+			   | xkc2al3hye2a
+			   | ygbi2ammx
+			   | zckzah
+			 )
+		  | \u6d4b\u8bd5
+		  | \u092a\u0930\u0940\u0915\u094d\u0937\u093e
+		  | \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u0435
+		  | \ud14c\uc2a4\ud2b8
+		  | \u05d8\u05e2\u05e1\u05d8
+		  | \u4e2d\u56fd
+		  | \u4e2d\u570b
+		  | \u0dbd\u0d82\u0d9a\u0dcf
+		  | \u6e2c\u8a66
+		  | \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc
+		  | \u0baa\u0bb0\u0bbf\u0b9f\u0bcd\u0b9a\u0bc8
+		  | \u9999\u6e2f
+		  | \u03b4\u03bf\u03ba\u03b9\u03bc\u03ae
+		  | \u0625\u062e\u062a\u0628\u0627\u0631
+		  | \u53f0\u6e7e
+		  | \u53f0\u7063
+		  | \u0627\u0645\u0627\u0631\u0627\u062a
+		  | \u0627\u0644\u0627\u0631\u062f\u0646
+		  | \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629
+		  | \u0e44\u0e17\u0e22
+		  | \u0440\u0444
+		  | \u062a\u0648\u0646\u0633
+		  | \u0645\u0635\u0631
+		  | \u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8
+		  | \u0641\u0644\u0633\u0637\u064a\u0646
+		  | \u30c6\u30b9\u30c8
 		  | [a-z][a-z]
 		)
 	    )



More information about the Tkabber-dev mailing list