| 1 | <?php |
||
| 5 | class Regex |
||
| 6 | { |
||
| 7 | public static function quantifyGroup(string $str, $min = null, $max = INF, string $tag = null) : string |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Build quantifier from parameters |
||
| 16 | * |
||
| 17 | * @param int|null $min |
||
| 18 | * @param float|int $max |
||
| 19 | * @param bool $lazyLoad |
||
| 20 | * |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | public static function fetchQuantifier($min = null, $max = INF, bool $lazyLoad = false) : string |
||
| 43 | } |
||
| 44 |