Tried making InputHandler regex more flexible. Too flexible now.