[eluser]toopay[/eluser]
[quote author="ReptileReX" date="1311706107"]How can I use it? ...
But I don't know how to use it.[/quote]
[quote author="birderic" date="1311714118"]I am not sure why this validation function isn't documented in the user guide. Can anyone provide any insight?[/quote]
Mocking the original userguide...
Rule :
regex_match
Parameter :
YES
Description :
Returns FALSE if the form element is not match with regular expression pattern.
Example :
regex_match[/^SELECT ([^)]+) FROM ([^)]+)$/i]
(Above example will examinate, if valid SELECT statement present.)
What wrong with you guys? Code is as is. You see above function is just a shorthand to perform regular expression, and you can use it just the way you use preg_match().