added wxRegEx::GetMatchCount (patch 938995)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-04-21 20:14:14 +00:00
parent c3a404b090
commit 86b79b93fb
3 changed files with 40 additions and 4 deletions

View File

@@ -170,6 +170,16 @@ May only be called after successful call to \helpref{Matches()}{wxregexmatches}
and only if {\tt wxRE\_NOSUB} was {\bf not} used in
\helpref{Compile()}{wxregexcompile}.
\membersection{wxRegEx::GetMatchCount}\label{wxregexgetmatchcount}
\constfunc{size\_t}{GetMatchCount}{\void}
Returns the size of the array of matches, i.e. the number of bracketed
subexpressions plus one for the expression itself, or $0$ on error.
May only be called after successful call to \helpref{Compile()}{wxregexcompile}.
and only if {\tt wxRE\_NOSUB} was {\bf not} used.
\membersection{wxRegEx::Matches}\label{wxregexmatches}
\constfunc{bool}{Matches}{\param{const wxChar* }{text}, \param{int }{flags = 0}}