1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Add references support

This commit is contained in:
2020-04-16 12:06:57 +02:00
parent 2bb75da017
commit 45d3f93192
2 changed files with 6 additions and 5 deletions

View File

@ -28,6 +28,6 @@ bool validateUrl(String url) {
}
}
/// Validate user reference
bool validateUserReference(String ref) =>
/// Validate directory reference
bool validateDirectoryReference(String ref) =>
RegExp(r'@[a-zA-Z0-9]+').hasMatch(ref);