nuprompt: fix a typo in regexp