marraknas / pe

0 stars 0 forks source link

Overzealous input validation for phone number #3

Closed marraknas closed 1 week ago

marraknas commented 1 week ago

Steps to reproduce

  1. Simply try adding a contact with phone number as 9876 5432 e.g add n/Irfan p/9876 5432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney

  2. The same applies for numbers such as (hp) 9124 1241 or 1234 5678 (HP) 1111-3333 (Office)

Screenshot 2024-11-15 at 4.29.09 PM.png

Expected output

Actual output

Suggestions