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
Jonny Borges
2020-06-27 03:45:45 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2020-06-27 03:45:45 -0300
Commit
9ebcd4cde6810f71806b755f2eb85b9ed247f8e4
9ebcd4cd
2 parents
76a91a75
0f79cd4f
Merge pull request #300 from stefandevo/master
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 @
9ebcd4c
...
...
@@ -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