Disallow typing a dot after a dash.  optimize for performance