gtksourceview r1988 - in trunk: . gtksourceview/language-specs



Author: muntyan
Date: Sat Aug  2 23:54:25 2008
New Revision: 1988
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=1988&view=rev

Log:
2008-08-02  Yevgen Muntyan  <muntyan tamu edu>

	* gtksourceview/language-specs/def.lang: do not allow backslash
	in net-address. Fixes bug #541791.



Modified:
   trunk/ChangeLog
   trunk/gtksourceview/language-specs/def.lang

Modified: trunk/gtksourceview/language-specs/def.lang
==============================================================================
--- trunk/gtksourceview/language-specs/def.lang	(original)
+++ trunk/gtksourceview/language-specs/def.lang	Sat Aug  2 23:54:25 2008
@@ -179,11 +179,11 @@
             <match>\%{float}</match>
         </context>
 
-        <!-- FIXME no \n in patterns! -->
+        <!-- FIXME is it working at line end? -->
         <define-regex id="net-address" extended="true" case-sensitive="false">
                 \%[                                         # separator
                 (https?|ftp|nntp|news|javascript|about):    # protocol
-                [^\ \n]* [^\ \n.:;,?&gt;&lt;)]              # address
+                [^\ \\]* [^\ \\.:;,?&gt;&lt;)]              # address
                 (?![a-z0-9_.-])                             # separator
         </define-regex>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]