mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
typo
This commit is contained in:
@@ -25,7 +25,9 @@ extension ListExt<T> on List<T>{
|
||||
}
|
||||
}
|
||||
|
||||
bool isEqualsTo(List<T> list){
|
||||
/// Compare every element of this list with another list.
|
||||
/// Return true if all elements are equal.
|
||||
bool isEqualTo(List<T> list){
|
||||
if(length != list.length){
|
||||
return false;
|
||||
}
|
||||
@@ -81,10 +83,6 @@ extension StringExt on String{
|
||||
return '$before$to$after';
|
||||
}
|
||||
|
||||
static bool hasMatch(String? value, String pattern) {
|
||||
return (value == null) ? false : RegExp(pattern).hasMatch(value);
|
||||
}
|
||||
|
||||
bool _isURL(){
|
||||
final regex = RegExp(
|
||||
r'^((http|https|ftp)://)[\w-]+(\.[\w-]+)+([\w.,@?^=%&:/~+#-|]*[\w@?^=%&/~+#-])?$',
|
||||
|
Reference in New Issue
Block a user