Skeleton is ready
This commit is contained in:
11
app/Kernel/String/Regex.php
Normal file
11
app/Kernel/String/Regex.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Kernel\String;
|
||||
|
||||
enum Regex: string
|
||||
{
|
||||
case Uuid7 = '^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$';
|
||||
case Numeric = '^[0-9]+$';
|
||||
}
|
||||
Reference in New Issue
Block a user