|
From: <fri...@us...> - 2009-05-16 07:02:40
|
Revision: 9740
http://zaf.svn.sourceforge.net/zaf/?rev=9740&view=rev
Author: friedelwolff
Date: 2009-05-16 07:02:34 +0000 (Sat, 16 May 2009)
Log Message:
-----------
Fix the regular expression to skip escaping on some lines. This now correctly skips 'grouping' and 'mon_grouping'.
Modified Paths:
--------------
trunk/locale/locale-escape
Modified: trunk/locale/locale-escape
===================================================================
--- trunk/locale/locale-escape 2009-05-16 06:58:50 UTC (rev 9739)
+++ trunk/locale/locale-escape 2009-05-16 07:02:34 UTC (rev 9740)
@@ -42,7 +42,7 @@
if copy_entity.search(line):
print line,
continue
- if process and not blank.search(line) and not re.match("^\w+?\s+?\d+?$", line):
+ if process and not blank.search(line) and not re.match("^\w+?\s*\d*(;\d+)*$", line):
# Phew now we can encode
for string in string_segment.split(re.sub('^[^"]*?"', "", re.sub('"[^"]*?$', "", re.sub('/$|";/$', '"', line)))):
string = re.sub('\n', "", string)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|