CS2103-AY1819S2-W16-1 / main

UniLA
https://cs2103-ay1819s2-w16-1.github.io/main/
0 stars 1 forks source link

Accept address that is only numeric #145

Closed nus-se-bot closed 5 years ago

nus-se-bot commented 5 years ago

Describe the bug I am able to add an address that is -1

To Reproduce Steps to reproduce the behavior:

  1. Follow the add person command
  2. Put address parameter as -1
  3. System accepts that

Expected behavior Regex should have rejected -1 and wanting a more precise address

Screenshots

Screen Shot 2019-04-05 at 2 13 32 PM

Reported by: @jamessspanggg Severity: Medium

[original: nus-cs2103-AY1819S2/pe-dry-run#200]

jwl1997 commented 5 years ago

bug fixed, thanks!