Am Donnerstag, 28. Februar 2019 11:56:57 CET schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>: > Le 28/02/2019 à 11:36, Kornel Benko a écrit : > >> Note that isalnum depends on the current locale, which is not a good > >> idea at all. We want to use unicode stuff. > > > > Good to know. I was not aware of textutils.h, shame on me. > > I did not see an exact equivalent to isalnum, so I do not know what you > are after. > > JMarc >
isAlnumASCII() helps a lot. The problem I were the inserted '\n' in the searched strings. They were converted to ' ', but this is not needed, if '\n' is enclosed in non-alphanum chars. Kornel
signature.asc
Description: This is a digitally signed message part.