wmlxgettext: fix #3469: lua plural strings not recognized in some context (#3481)

* bugfix: https://github.com/wesnoth/wesnoth/issues/3469

* wmlxgettext: removed a debug comment forgotten on the previous bugfix
This commit is contained in:
Nobun 2018-08-22 06:10:30 +02:00 committed by Jyrki Vesterinen
parent c589e39098
commit 4b79c263d3

View file

@ -77,7 +77,7 @@ class LuaCommentState:
class LuaStr00:
def __init__(self):
self.regex = re.compile(r'((?:_)|(?:.*?\s+_))\s*\(')
self.regex = re.compile(r'\b_\b\s*\(')
self.iffail = 'lua_str01'
def run(self, xline, lineno, match):