Writing an invalid birthday before another birthday /papapasses the checks for /b, since that initial input is not the one being checked. Although this does not affect much of functionality, it may confuse some users. Recommendation will be to either allow only one /b to parse, or catch this typo in the user's input. I find there to be no rationale to allow more than one /b, if the other fields only allow one. Can restrict parsing of /b to be like the other fields.
Bug
/papa
passes the checks for/b
, since that initial input is not the one being checked. Although this does not affect much of functionality, it may confuse some users. Recommendation will be to either allow only one/b
to parse, or catch this typo in the user's input. I find there to be no rationale to allow more than one/b
, if the other fields only allow one. Can restrict parsing of/b
to be like the other fields.Reproduction
add n/JohnpDoe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 b/papa b/2001-04-08 t/friends t/owesMoney
Screenshot
This command was executed successfully, although the first
/b
field is invalid based on UG.