mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireCloud.git
synced 2026-05-31 00:04:27 +08:00
- Cleanup migrations, change json fields, remove updated_at - Use a separate fair.php config file - Store the semantic version regex in app/Utils/Patterns.php - Minor improvements
13 lines
284 B
PHP
13 lines
284 B
PHP
<?php
|
|
|
|
namespace App\Utils;
|
|
|
|
class Patterns
|
|
{
|
|
public const SEMANTIC_VERSION = '/^v?(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$/';
|
|
|
|
private function __construct()
|
|
{
|
|
// not instantiable
|
|
}
|
|
}
|