Quote:
Originally Posted by trcm
|
The backslashes need to be escaped before the regex is evaluated, in this case. So those are all actually just escaped dot characters.
Here's the regex actually being used
Code:
^/mnt/(sd|onboard)/(\.(?!kobo|adobe).+|([^.][^/]*/)+\..+)$
Quote:
Originally Posted by NiLuJe
The thing to remember is that this is sandwiched inside a
Code:
^/mnt/(sd|onboard)/%1$
so, can't use ^ or $, and that QSettings probably wants some stuff escaped, hence \\. for \. (i.e., match a dot, instead of any character)
|