match the pattern for entered too