<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong translations of formula function names and identifiers"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128200#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong translations of formula function names and identifiers"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128200">bug 128200</a>
from <span class="vcard"><a class="email" href="mailto:erack@redhat.com" title="Eike Rathke <erack@redhat.com>"> <span class="fn">Eike Rathke</span></a>
</span></b>
<pre>Found out that translators had even more creative ideas.. and this catches more
bad cases:
grep -E 'msgstr "(([^[:alpha:]])|(.*[-+*/&% ()~<=>!]))"'
However, python apparently doesn't know the predefined [:alpha:] class, so this
could do as well:
'msgstr \"(([0-9_.].*)|(.*[-+*/&% ()~<=>!].*))\"'
If *only* the function name is to be matched, not the msgstr ..., then this is
sufficient:
(^[0-9_.])|(.*[-+*/&% ()~<=>!])</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>