https://bugs.documentfoundation.org/show_bug.cgi?id=128200
--- Comment #9 from Eike Rathke <[email protected]> ---
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs