In web programming, we often use regular expression for validating the e-mail address or phone number. Regular expression is a powerful tool in validating the specific format field. However, the interpretation of regular expression is not an easy job.
In the GoF’s design patterns, there is a corresponding pattern named Interpreter.

January 27th, 2009
Posted in
Tags: