Fixed regex in InputHandler.