Skip to content

Commit

Permalink
Merge branch 'master' into branch-AppendixEffort
Browse files Browse the repository at this point in the history
  • Loading branch information
btbrandon authored Nov 11, 2024
2 parents 43576ea + fc14b4a commit 41e54fb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/seedu/address/model/person/Module.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@
public class Module {

public static final String MESSAGE_CONSTRAINTS =
"Modules should only contain alphanumeric characters and spaces, and it should not be blank";
"Modules should only contain alphanumeric characters, and it should not be blank";

/*
* The first character of the Module must not be a whitespace,
* otherwise " " (a blank string) becomes a valid input.
*/
public static final String VALIDATION_REGEX = "^[a-zA-Z0-9]+$";

public final String value;
Expand Down

0 comments on commit 41e54fb

Please sign in to comment.