public static reg_delim_stripper ( string $r ) : string | ||
$r | string | |
Résultat | string |
public static function reg_delim_stripper($r)
{
# we need to strip off regex delimeters and options to make
# one giant regex
return substr($r, 1, -2);
}