Created project base structure, state management, router and login
This commit is contained in:
6
lib/constants/regexp.dart
Normal file
6
lib/constants/regexp.dart
Normal file
@@ -0,0 +1,6 @@
|
||||
class Regexps {
|
||||
static final url =
|
||||
RegExp(r'/https?:\/\/(?:www\.)?([-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b)*(\/[\/\d\w\.-]*)*(?:[\?])*(.+)*/gi');
|
||||
static final ipAddress = RegExp(r'^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)(\.(?!$)|$)){4}$');
|
||||
static final domain = RegExp(r'^(([a-z0-9|-]+\.)*[a-z0-9|-]+\.[a-z]+)$');
|
||||
}
|
||||
Reference in New Issue
Block a user