Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Stefan de Vogelaere
2020-06-27 08:26:41 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0f79cd4f99f1b529aa88cfe01b2d8edb4c6b064d
0f79cd4f
1 parent
76a91a75
Typo in isEmail
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/src/regex/get_utils.dart
lib/src/regex/get_utils.dart
View file @
0f79cd4
...
...
@@ -78,7 +78,7 @@ class GetUtils {
static
bool
isURL
(
String
s
)
=>
RegexValidation
.
hasMatch
(
s
,
regex
.
url
);
/// Checks if string is email.
static
bool
isEmail
(
String
s
)
=>
RegexValidation
.
hasMatch
(
s
,
regex
.
txt
);
static
bool
isEmail
(
String
s
)
=>
RegexValidation
.
hasMatch
(
s
,
regex
.
email
);
/// Checks if string is phone number.
static
bool
isPhoneNumber
(
String
s
)
=>
...
...
Please
register
or
login
to post a comment