[Libreoffice-bugs] [Bug 128200] Wrong translations of formula function names and identifiers

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 30 12:31:52 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=128200

--- Comment #9 from Eike Rathke <erack at redhat.com> ---
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_.])|(.*[-+*/&% ()~<=>!])

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200430/54673475/attachment.htm>


More information about the Libreoffice-bugs mailing list