Class

RegexHelper

Package: Helper Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Regis VIARRE crowkait@phpboost.com Version: PHPBoost 5.2 - last update: 2016 10 24 Since: PHPBoost 3.0 - 2010 01 21 Contributor: Arnaud GENET elenwii@phpboost.com Located at: helper/RegexHelper.class.php

Regex helper

Methods summary
public static string
# set_subregex_multiplicity( string $sub_regex, integer $multiplicity_option )

Returns the sub-regex with its multiplicity option

Constants summary
integer REGEX_MULTIPLICITY_NOT_USED
# 0x01
integer REGEX_MULTIPLICITY_OPTIONNAL
# 0x02
integer REGEX_MULTIPLICITY_REQUIRED
# 0x03
integer REGEX_MULTIPLICITY_AT_LEAST_ONE
# 0x04
integer REGEX_MULTIPLICITY_ALL
# 0x05