I couldn't stop myself from shamelessly plugging Zend_Validate_Builder (in the
laboratory) on this... :)
Zend_Validate_Builder already has a convenient hook built in for extending
wildcard behavior to anything else, including regular expressions. So for those
like Mark Maynereid who need more powerful wildcards, all you have to do is
override the method Zend_Validate_Builder::_expandMeta().
Also provided is a dedicated Error Manager class that makes it easy to customize
all the error messages for many validators at once, without having to constantly
set them up on a per-instance basis. It also collects together the errors for
you and gives you some easy access methods to retrieve them when you want to
display them.
Some usage examples in the proposal:
http://framework.zend.com/wiki/x/fXM
Get the code from the Laboratory:
http://framework.zend.com/svn/laboratory
Regards,
Bryce Lohr