mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-02 02:17:05 -04:00
add support for custom commands. all autotype tests are getting passed now
This commit is contained in:
parent
4893d99774
commit
7ceac05395
1 changed files with 1 additions and 1 deletions
|
@ -679,7 +679,7 @@ bool AutoType::checkSyntax(const QString &string)
|
|||
{
|
||||
//checks things like {word 23}{F1 23}{~ 23}{% 23}{^}{F12}{(}{) 23}{[}{[}{]}{Delay=23}{+}{-}~+%@fixedstring
|
||||
QString allowRepetition = "(\\s[0-9]*){0,1}";
|
||||
QString normalCommands = "[A-Z]*" + allowRepetition;
|
||||
QString normalCommands = "[A-Z:]*" + allowRepetition; //the ":" allows custom commands
|
||||
QString specialLiterals = "[\\^\\%\\(\\)~\\{\\}\\[\\]\\+-]" + allowRepetition;
|
||||
QString functionKeys = "(F[1-9]" + allowRepetition + "|F1[0-2])" + allowRepetition;
|
||||
QString numpad = "NUMPAD[0-9]" + allowRepetition;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue