Skip to content

Commit

Permalink
allow dots and commas in user names
Browse files Browse the repository at this point in the history
  • Loading branch information
albogdano committed Jul 7, 2023
1 parent b0bee32 commit 93b807f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion para-core/src/main/java/com/erudika/para/core/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ public void setCreatorid(String creatorid) {

@Override
public final String getName() {
return CoreUtils.getInstance().getName(name, id).replaceAll("[\\p{S}\\p{P}\\p{C}&&[^'-]]", "").
return CoreUtils.getInstance().getName(name, id).replaceAll("[\\p{S}\\p{P}\\p{C}&&[^'\\-,\\.]]", "").
replaceAll("\\p{Z}+", " ").trim();
}

Expand Down

0 comments on commit 93b807f

Please sign in to comment.