Fixed regex that is used to verify configured value for allocatePty (fixed #123).