gtranslator r3779 - in trunk: . data plugins/insert-tags



Author: icq
Date: Mon Sep 22 10:08:32 2008
New Revision: 3779
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3779&view=rev

Log:
2008-09-22  Ignacio Casal Quinteiro  <nacho resa gmail com>

        * plugins/insert-tags/insert-tags-plugin.c:
        * data/po.lang:
        Fixed regex. (Fixes bug #549922).



Modified:
   trunk/ChangeLog
   trunk/data/po.lang
   trunk/plugins/insert-tags/insert-tags-plugin.c

Modified: trunk/data/po.lang
==============================================================================
--- trunk/data/po.lang	(original)
+++ trunk/data/po.lang	Mon Sep 22 10:08:32 2008
@@ -41,7 +41,7 @@
           <match>[&amp;_][a-zA-Z]</match>
         </context>
         <context style-ref="tag">
-	  <match>&lt;[0-9a-zA-Z=.:?\"/\- ]+&gt;</match>
+	  <match>&lt;[0-9a-zA-Z=.:_?\"/\- ]+&gt;</match>
 	</context>
         <context ref="python:format" style-ref="special-variable"/>
         <context ref="c:printf"/>

Modified: trunk/plugins/insert-tags/insert-tags-plugin.c
==============================================================================
--- trunk/plugins/insert-tags/insert-tags-plugin.c	(original)
+++ trunk/plugins/insert-tags/insert-tags-plugin.c	Mon Sep 22 10:08:32 2008
@@ -241,7 +241,7 @@
 	/*
 	 * Regular expression
 	 */
-	regex = g_regex_new ("<[-0-9a-zA-Z=.:?\"/ ]+>", 0, 0, NULL);
+	regex = g_regex_new ("<[-0-9a-zA-Z=.:_?\"/ ]+>", 0, 0, NULL);
 	g_regex_match (regex, msgid, 0, &match_info);
 	while (g_match_info_matches (match_info))
 	{



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