generator fails, if pattern contains a dot
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
hello,
keepass version 2.43 windows (bug is not in previous version)
steps:
if an unmasked dot ('.' not '.'), or other umasked punctuation characters are invalid patterns, then this should be stated in the pattern documentation.
best regards
frank
It is stated in the documentation.
Literal characters must be escaped with a backslash, in this case
\.dcheers, Paul
for the sake of clarity i suggest to add to the documentation something like:
cheers, frank
Last edit: source4fun 2019-11-20
To make matters worse, it seems an unescaped dot had worked in the past, but currently it does not. Despite of that what sense does
[,.]make when a dot is any character?In addition
.is not listed as a special character in Help (KeePass 2.47), so I think it is a bug.Next thing is that I can enter the pattern without a problem (no error being indicated), but then preview tells me "The pattern is invalid" (KeePass 2.47).
This is absolutely bad UI design and a very poor error message, also.
Last edit: Ulrich Windl 2021-07-28
if a dot is surrounded by square brackets, then the meaning of a dot changes from any character to a literal dot.
well, i can not confirm pauls claim It is stated in the documentation. i aggree to you (u. windl), that we have still an unsolved problem.
This is incorrect. A dot does not mean 'any character', and its meaning also doesn't change.
Best regards,
Dominik
Any character (including the dot) may become a special character in a future version.
If you want to output/use a character literally, you must escape it with a backslash (as documented).
Best regards,
Dominik
i apologize, but the dot is not listed in the documentation in the table of placeholders. also, the word dot does not appear anywhere. or did i overread something?
Last edit: source4fun 2021-07-28
You are correct, dot is not listed as a placeholder, therefore it must be escaped.
cheers, Paul