TF-3539 Support separator list email with space character

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-03-11 10:26:34 +07:00
committed by Dat H. Pham
parent d2e2b5ed06
commit 998ff1972e
2 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import 'package:core/domain/exceptions/string_exception.dart';
import 'package:http_parser/http_parser.dart';
class StringConvert {
static const String emailSeparatorPattern = r'[,;]+';
static const String emailSeparatorPattern = r'[ ,;]+';
static String? writeEmptyToNull(String text) {
if (text.isEmpty) return null;