plugin: hotkeys + tests: test regular expressions