mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-10 20:48:27 -04:00
Remove minus since it's an invalid literal
This commit is contained in:
parent
e803076063
commit
6d046f251e
3 changed files with 6 additions and 3 deletions
|
@ -616,7 +616,7 @@ bool AutoType::checkSyntax(const QString& string)
|
|||
// the ":" allows custom commands with syntax S:Field
|
||||
// exclude BEEP otherwise will be checked as valid
|
||||
QString normalCommands = "(?!BEEP\\s)[A-Z:]*" + allowRepetition;
|
||||
QString specialLiterals = "[\\^\\%\\(\\)~\\{\\}\\[\\]\\+-]" + allowRepetition;
|
||||
QString specialLiterals = "[\\^\\%\\(\\)~\\{\\}\\[\\]\\+]" + allowRepetition;
|
||||
QString functionKeys = "(?:F[1-9]" + allowRepetition + "|F1[0-2])" + allowRepetition;
|
||||
QString numpad = "NUMPAD\\d" + allowRepetition;
|
||||
QString delay = "DELAY=\\d+";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue