Added \RTEX\Abstracts > RegexPatterns

This commit is contained in:
Netkas 2022-12-27 02:46:09 -05:00
parent 48a89b65b8
commit feb06cdb6b

View file

@ -0,0 +1,14 @@
<?php
namespace RTEX\Abstracts;
abstract class RegexPatterns
{
/**
* Matches an array query value
*
* Matches: foo.bar, foo.0.bar, foo.bar.bazz.bar.0, 0.bar.bazz
* Does not match: foo..bar, foo.bar., foo..bar.bazz, foo-bar
*/
const ArrayQuery = '/^\d*(\.\w+)*$/';
}