wxRegEx represents a regular expression. This class provides support
for regular expressions matching and also replacement.
wxRegEx represents a regular expression. This class provides support
for regular expressions matching and also replacement.
if ( reEmail.Matches(text) )
{
wxString text = reEmail.GetMatch(email);
wxString username = reEmail.GetMatch(email, 1);
if ( reEmail.Matches(text) )
{
wxString text = reEmail.GetMatch(email);
wxString username = reEmail.GetMatch(email, 1);
subexpressions plus one for the expression itself, or 0 on error.
May only be called after successful call to Compile().
subexpressions plus one for the expression itself, or 0 on error.
May only be called after successful call to Compile().
May only be called after successful call to Compile().
*/
bool Matches(const wxChar* text, int flags = 0) const;
May only be called after successful call to Compile().
*/
bool Matches(const wxChar* text, int flags = 0) const;