fixed typo in keyMap for regex