Kornel Benko
2014-04-22 09:20:51 UTC
commit 5e530e075734cee46f39d52a9f6fd7cda40545f5
Date: Tue Apr 22 10:35:20 2014 +0200
lyx_pot.py: Do not strip blanks in HelpText.
This fixes a thinko introduced in [c5ef7cfc/lyxgit]
Fixes: #9054.
diff --git a/po/lyx_pot.py b/po/lyx_pot.py
index b6f97dc..ca97416 100755
--- a/po/lyx_pot.py
+++ b/po/lyx_pot.py
Template = re.compile(r'^Template\s+(.*)', re.IGNORECASE)
GuiName = re.compile(r'\s*GuiName\s+(.*)', re.IGNORECASE)
HelpTextStart = re.compile(r'\s*HelpText\s', re.IGNORECASE)
- HelpTextSection = re.compile(r'\s*(\S.*\S)\s*$')
+ HelpTextSection = re.compile(r'\s*(\S.*)\s*$')
I do not understand.Date: Tue Apr 22 10:35:20 2014 +0200
lyx_pot.py: Do not strip blanks in HelpText.
This fixes a thinko introduced in [c5ef7cfc/lyxgit]
Fixes: #9054.
diff --git a/po/lyx_pot.py b/po/lyx_pot.py
index b6f97dc..ca97416 100755
--- a/po/lyx_pot.py
+++ b/po/lyx_pot.py
Template = re.compile(r'^Template\s+(.*)', re.IGNORECASE)
GuiName = re.compile(r'\s*GuiName\s+(.*)', re.IGNORECASE)
HelpTextStart = re.compile(r'\s*HelpText\s', re.IGNORECASE)
- HelpTextSection = re.compile(r'\s*(\S.*\S)\s*$')
+ HelpTextSection = re.compile(r'\s*(\S.*)\s*$')
What is the difference to re'\s*(\S.*)$'? Does '.' not include white space?
HelpTextEnd = re.compile(r'\s*HelpTextEnd\s', re.IGNORECASE)
i = -1
Korneli = -1