Function check_by_regex
Verify a value is OK by testing a regex against it. If it is an array apply it to each element in the array recursively. If it is an object we don't mess with it.
Package: awl\Utilities
Copyright: Catalyst IT Ltd, Morphoss Ltd <http://www.morphoss.com/>
License: GNU LGPL version 3 or later
Author: Andrew McMillan <andrew@mcmillan.net.nz>
Located at AWLUtilities.php
Copyright: Catalyst IT Ltd, Morphoss Ltd <http://www.morphoss.com/>
License: GNU LGPL version 3 or later
Author: Andrew McMillan <andrew@mcmillan.net.nz>
Located at AWLUtilities.php
mixed |
$val |
|
mixed |
$regex |