Skip to content

Bug: Unable to save "/" in names #2

Description

@jeronkk

Description

The add command is unable to save names that have a / character in the name. People's names like Nagaratnam s/o Suppiah would not be able to save their names in the addressbook.

Steps to reproduce:

  1. Enter this command into the command box.
add n/James S/O Ho p/22224444 e/jamesho@example.com j/Frontend Engineer s/Online Assessment a/123, ClementiRd, 1234665 t/friend t/SQLExpert
  1. An error message should pop up, Names should only contain alphanumeric characters and spaces, and it should not be blank.

Suggestions

I think instead of alphanumeric characters and spaces, try Unicode characters so that it also allows names like Nguyễn or 黄李

image.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions