TF-233 Implement create new mailbox and sub-folder
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
extension NameValidatorStringExtension on String {
|
||||
bool hasSpecialCharactersInName() {
|
||||
return RegExp(r'^([@#%^$~!%&*()+=\|{}/<>:;?`])').hasMatch(this);
|
||||
return RegExp(r'(?=.*?[#?!@$%^&*)(=+}{:;?/|\\><.,`~])').hasMatch(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user