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-10-17 13:24:37 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-10-17 13:24:37 -0300
Commit
bbf00f8530ea237df4fc29886ba7432b1cfc6fa2
bbf00f85
1 parent
c054f6fc
Update get_utils.dart
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/get_utils/src/get_utils/get_utils.dart
lib/get_utils/src/get_utils/get_utils.dart
View file @
bbf00f8
...
...
@@ -204,7 +204,7 @@ class GetUtils {
/// Checks if string is phone number.
static
bool
isPhoneNumber
(
String
s
)
=>
hasMatch
(
s
,
r'
([0-9\s\-]{7,})(?:\s*(?:#|x\.?|ext\.?|extension)\s*(\d+))?
$'
);
r'
^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*
$'
);
/// Checks if string is DateTime (UTC or Iso8601).
static
bool
isDateTime
(
String
s
)
=>
...
...
Please
register
or
login
to post a comment