|
@ -1,6 +1,6 @@ |
|
|
<?php |
|
|
<?php |
|
|
|
|
|
|
|
|
define('REQUEST_REGEX', '/^\/(?<supplier>[^\/]+)\/?(?<event>[^\/]+)\/?$/'); |
|
|
|
|
|
|
|
|
define('REQUEST_REGEX', '/^\/(?<supplier>[^\/]+)\/?(?<event>[^\/]+)?\/?$/'); |
|
|
define('SUPPLIER_REGEX', '/^[A-Za-z]\w{0,31}$/'); |
|
|
define('SUPPLIER_REGEX', '/^[A-Za-z]\w{0,31}$/'); |
|
|
define('EVENT_REGEX', '/^\d{4}\-[01]\d\-[0123]\d$/'); |
|
|
define('EVENT_REGEX', '/^\d{4}\-[01]\d\-[0123]\d$/'); |
|
|
define('ACTION_REGEX', '/^[a-z]{1,16}$/i'); |
|
|
define('ACTION_REGEX', '/^[a-z]{1,16}$/i'); |
|
|