#include <WRegExpValidator>
Inherits Wt::WValidator.
Inheritance diagram for Wt::WRegExpValidator:

Public Member Functions | |
| WRegExpValidator (const boost::wregex &rx) | |
| Create a new regular expression validator that accepts input that matches the given regular expression. | |
| WRegExpValidator (const WString &expr) | |
| Create a new regular expression validator that accepts input that matches the given perl regular expression. | |
| ~WRegExpValidator () | |
| Delete the regexp validator. | |
| const boost::wregex & | regExp () const |
| Return the regular expression for matching. | |
| virtual State | validate (WString &input, int &pos) const |
| Validate the to match the regular expression. | |
This validator checks whether user input is matched by the given regular expression.
| Wt::WRegExpValidator::WRegExpValidator | ( | const boost::wregex & | rx | ) |
Create a new regular expression validator that accepts input that matches the given regular expression.
Deprecated. Consider using WRegExpValidator(const std::string) which is available on all platforms (including WIN32).
| Wt::WRegExpValidator::WRegExpValidator | ( | const WString & | expr | ) |
Create a new regular expression validator that accepts input that matches the given perl regular expression.
TODO: provide a nice subset of the options provided by boost::regex.
1.4.7