Created attachment 112579 [details]
[Screenshot] Backslashes appearing in the OpenCL whitelist/blacklist
On Ubuntu 14.04 + LO 18.104.22.168
1) Open LibreOffice
2) Tools -> Options -> LibreOffice -> OpenCL
3) Look at the strings listed on the whitelist and blacklist: they appear to have backslashes escaping some (but not all) of the non-alphanumeric characters
EXPECTED: No backslashes in these strings
Reproduced on Ubuntu 14.04 and OSX 10.10 / LO 22.214.171.124
The strings there are regular expressions so we need to escape the characters with special meaning '(', ')' and '.'. The string later goes into icu's regex matcher.
Further: Even if there currently are no entries in the list, as bundled with LibreOffice, that would make use of regular expression features, there is nothing that guarantees that we won't need to use actual regular expressions in the future.