mirror of
https://github.com/bitwarden/android.git
synced 2025-01-11 18:57:39 +03:00
make regex helpers public
This commit is contained in:
parent
7d6ec46ebe
commit
2fa3d214e5
1 changed files with 2 additions and 2 deletions
|
@ -5,13 +5,13 @@ namespace Bit.Core.Utilities
|
|||
{
|
||||
public static class CoreHelpers
|
||||
{
|
||||
private static string IpRegex =
|
||||
public static readonly string IpRegex =
|
||||
"^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\." +
|
||||
"(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\." +
|
||||
"(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\." +
|
||||
"(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$";
|
||||
|
||||
private static string TldEndingRegex =
|
||||
public static readonly string TldEndingRegex =
|
||||
".*\\.(com|net|org|edu|uk|gov|ca|de|jp|fr|au|ru|ch|io|es|us|co|xyz|info|ly|mil)$";
|
||||
|
||||
public static readonly DateTime Epoc = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
|
||||
|
|
Loading…
Reference in a new issue