fix(ui, core): make message input regex caseInsensitive.
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -1042,6 +1042,7 @@ class StreamMessageInputState extends State<StreamMessageInput>
|
||||
CancelableOperation? _enrichUrlOperation;
|
||||
final _urlRegex = RegExp(
|
||||
r'(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-?=%.]+',
|
||||
caseSensitive: false,
|
||||
);
|
||||
|
||||
void _checkContainsUrl(String value, BuildContext context) async {
|
||||
|
||||
Reference in New Issue
Block a user