\hypertarget{group__Helper}{}\section{Helper}
\label{group__Helper}\index{Helper@{Helper}}


The validation helper feature.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Elm__Validate__Content}{\+\_\+\+Elm\+\_\+\+Validate\+\_\+\+Content}}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Helper_ga5b981eee954e42ece68a348fefef364f}\label{group__Helper_ga5b981eee954e42ece68a348fefef364f}} 
typedef struct \mbox{\hyperlink{struct__Elm__Validate__Content}{\+\_\+\+Elm\+\_\+\+Validate\+\_\+\+Content}} \mbox{\hyperlink{group__Helper_ga5b981eee954e42ece68a348fefef364f}{Elm\+\_\+\+Validate\+\_\+\+Content}}
\begin{DoxyCompactList}\small\item\em Data for the elm\+\_\+validator\+\_\+regexp\+\_\+helper() \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Helper_gaf3a5f802b9cc5378cc629609faa231d0}\label{group__Helper_gaf3a5f802b9cc5378cc629609faa231d0}} 
typedef struct \+\_\+\+Elm\+\_\+\+Validator\+\_\+\+Regexp \mbox{\hyperlink{group__Helper_gaf3a5f802b9cc5378cc629609faa231d0}{Elm\+\_\+\+Validator\+\_\+\+Regexp}}
\begin{DoxyCompactList}\small\item\em The Regexp validator data. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Helper_ga1501d98c944f56aeb1d92ceb33e69ec9}{Elm\+\_\+\+Regexp\+\_\+\+Status}} \{ \newline
\mbox{\hyperlink{group__Helper_gga1501d98c944f56aeb1d92ceb33e69ec9a1f0c67281d91a124c97893a923547020}{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+E\+R\+R\+OR}} = 0, 
\newline
\mbox{\hyperlink{group__Helper_gga1501d98c944f56aeb1d92ceb33e69ec9af876807ccfce4baa6c1cf0db44d58106}{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+M\+A\+T\+CH}}, 
\newline
\mbox{\hyperlink{group__Helper_gga1501d98c944f56aeb1d92ceb33e69ec9aa4fcaac84cea0f21da3ca977222c50ce}{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+B\+A\+D\+P\+AT}}
 \}
\begin{DoxyCompactList}\small\item\em Enumeration that defines the regex error codes. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Helper_gaf3a5f802b9cc5378cc629609faa231d0}{Elm\+\_\+\+Validator\+\_\+\+Regexp}} $\ast$ \mbox{\hyperlink{group__Helper_ga144001aa5ee648f8702c319f48e7fba7}{elm\+\_\+validator\+\_\+regexp\+\_\+new}} (const char $\ast$pattern, const char $\ast$signal)
\begin{DoxyCompactList}\small\item\em Create a new regex validator. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Helper_ga0bee4dc637cde5514b4184b99a13bf69}{elm\+\_\+validator\+\_\+regexp\+\_\+free}} (\mbox{\hyperlink{group__Helper_gaf3a5f802b9cc5378cc629609faa231d0}{Elm\+\_\+\+Validator\+\_\+\+Regexp}} $\ast$validator)
\begin{DoxyCompactList}\small\item\em Delete the existing regex validator. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Helper_ga1501d98c944f56aeb1d92ceb33e69ec9}{Elm\+\_\+\+Regexp\+\_\+\+Status}} \mbox{\hyperlink{group__Helper_gac59e0cdc44c823d589ac11d5d5f921fd}{elm\+\_\+validator\+\_\+regexp\+\_\+status\+\_\+get}} (\mbox{\hyperlink{group__Helper_gaf3a5f802b9cc5378cc629609faa231d0}{Elm\+\_\+\+Validator\+\_\+\+Regexp}} $\ast$validator)
\begin{DoxyCompactList}\small\item\em Get the validation status. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
The validation helper feature. 



\subsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Helper_ga1501d98c944f56aeb1d92ceb33e69ec9}\label{group__Helper_ga1501d98c944f56aeb1d92ceb33e69ec9}} 
\index{Helper@{Helper}!Elm\+\_\+\+Regexp\+\_\+\+Status@{Elm\+\_\+\+Regexp\+\_\+\+Status}}
\index{Elm\+\_\+\+Regexp\+\_\+\+Status@{Elm\+\_\+\+Regexp\+\_\+\+Status}!Helper@{Helper}}
\subsubsection{\texorpdfstring{Elm\+\_\+\+Regexp\+\_\+\+Status}{Elm\_Regexp\_Status}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Helper_ga1501d98c944f56aeb1d92ceb33e69ec9}{Elm\+\_\+\+Regexp\+\_\+\+Status}}}



Enumeration that defines the regex error codes. 

\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+E\+R\+R\+OR@{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+E\+R\+R\+OR}!Helper@{Helper}}\index{Helper@{Helper}!E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+E\+R\+R\+OR@{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+E\+R\+R\+OR}}}\mbox{\Hypertarget{group__Helper_gga1501d98c944f56aeb1d92ceb33e69ec9a1f0c67281d91a124c97893a923547020}\label{group__Helper_gga1501d98c944f56aeb1d92ceb33e69ec9a1f0c67281d91a124c97893a923547020}} 
E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+E\+R\+R\+OR&Regex maches to the Entrys text. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+M\+A\+T\+CH@{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+M\+A\+T\+CH}!Helper@{Helper}}\index{Helper@{Helper}!E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+M\+A\+T\+CH@{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+M\+A\+T\+CH}}}\mbox{\Hypertarget{group__Helper_gga1501d98c944f56aeb1d92ceb33e69ec9af876807ccfce4baa6c1cf0db44d58106}\label{group__Helper_gga1501d98c944f56aeb1d92ceb33e69ec9af876807ccfce4baa6c1cf0db44d58106}} 
E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+M\+A\+T\+CH&Failed to match. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+B\+A\+D\+P\+AT@{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+B\+A\+D\+P\+AT}!Helper@{Helper}}\index{Helper@{Helper}!E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+B\+A\+D\+P\+AT@{E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+B\+A\+D\+P\+AT}}}\mbox{\Hypertarget{group__Helper_gga1501d98c944f56aeb1d92ceb33e69ec9aa4fcaac84cea0f21da3ca977222c50ce}\label{group__Helper_gga1501d98c944f56aeb1d92ceb33e69ec9aa4fcaac84cea0f21da3ca977222c50ce}} 
E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+B\+A\+D\+P\+AT&Invalid regular expression. \\
\hline

\end{DoxyEnumFields}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Helper_ga144001aa5ee648f8702c319f48e7fba7}\label{group__Helper_ga144001aa5ee648f8702c319f48e7fba7}} 
\index{Helper@{Helper}!elm\+\_\+validator\+\_\+regexp\+\_\+new@{elm\+\_\+validator\+\_\+regexp\+\_\+new}}
\index{elm\+\_\+validator\+\_\+regexp\+\_\+new@{elm\+\_\+validator\+\_\+regexp\+\_\+new}!Helper@{Helper}}
\subsubsection{\texorpdfstring{elm\+\_\+validator\+\_\+regexp\+\_\+new()}{elm\_validator\_regexp\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Helper_gaf3a5f802b9cc5378cc629609faa231d0}{Elm\+\_\+\+Validator\+\_\+\+Regexp}}$\ast$ elm\+\_\+validator\+\_\+regexp\+\_\+new (\begin{DoxyParamCaption}\item[{const char $\ast$}]{pattern,  }\item[{const char $\ast$}]{signal }\end{DoxyParamCaption})}



Create a new regex validator. 

General designed for validate inputed entry text.


\begin{DoxyParams}{Parameters}
{\em pattern} & The regex pattern \\
\hline
{\em signal} & The part of signal name, which will be emitted to style \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The regex validator
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Helper_ga0bee4dc637cde5514b4184b99a13bf69}{elm\+\_\+validator\+\_\+regexp\+\_\+free()}} 

\mbox{\hyperlink{group__Helper_gac59e0cdc44c823d589ac11d5d5f921fd}{elm\+\_\+validator\+\_\+regexp\+\_\+status\+\_\+get()}} 

elm\+\_\+validator\+\_\+regexp\+\_\+helper()
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References eina\+\_\+stringshare\+\_\+add(), E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+B\+A\+D\+P\+AT, and E\+L\+M\+\_\+\+R\+E\+G\+\_\+\+N\+O\+E\+R\+R\+OR.

\mbox{\Hypertarget{group__Helper_ga0bee4dc637cde5514b4184b99a13bf69}\label{group__Helper_ga0bee4dc637cde5514b4184b99a13bf69}} 
\index{Helper@{Helper}!elm\+\_\+validator\+\_\+regexp\+\_\+free@{elm\+\_\+validator\+\_\+regexp\+\_\+free}}
\index{elm\+\_\+validator\+\_\+regexp\+\_\+free@{elm\+\_\+validator\+\_\+regexp\+\_\+free}!Helper@{Helper}}
\subsubsection{\texorpdfstring{elm\+\_\+validator\+\_\+regexp\+\_\+free()}{elm\_validator\_regexp\_free()}}
{\footnotesize\ttfamily void elm\+\_\+validator\+\_\+regexp\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Helper_gaf3a5f802b9cc5378cc629609faa231d0}{Elm\+\_\+\+Validator\+\_\+\+Regexp}} $\ast$}]{validator }\end{DoxyParamCaption})}



Delete the existing regex validator. 


\begin{DoxyParams}{Parameters}
{\em validator} & The given validator\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Helper_ga144001aa5ee648f8702c319f48e7fba7}{elm\+\_\+validator\+\_\+regexp\+\_\+new()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References eina\+\_\+stringshare\+\_\+del().

\mbox{\Hypertarget{group__Helper_gac59e0cdc44c823d589ac11d5d5f921fd}\label{group__Helper_gac59e0cdc44c823d589ac11d5d5f921fd}} 
\index{Helper@{Helper}!elm\+\_\+validator\+\_\+regexp\+\_\+status\+\_\+get@{elm\+\_\+validator\+\_\+regexp\+\_\+status\+\_\+get}}
\index{elm\+\_\+validator\+\_\+regexp\+\_\+status\+\_\+get@{elm\+\_\+validator\+\_\+regexp\+\_\+status\+\_\+get}!Helper@{Helper}}
\subsubsection{\texorpdfstring{elm\+\_\+validator\+\_\+regexp\+\_\+status\+\_\+get()}{elm\_validator\_regexp\_status\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Helper_ga1501d98c944f56aeb1d92ceb33e69ec9}{Elm\+\_\+\+Regexp\+\_\+\+Status}} elm\+\_\+validator\+\_\+regexp\+\_\+status\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Helper_gaf3a5f802b9cc5378cc629609faa231d0}{Elm\+\_\+\+Validator\+\_\+\+Regexp}} $\ast$}]{validator }\end{DoxyParamCaption})}



Get the validation status. 


\begin{DoxyParams}{Parameters}
{\em The} & given validator\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
All return value see here\+: \href{http://www.gnu.org/software/libc/manual/html_node/Regular-Expressions.html}{\tt http\+://www.\+gnu.\+org/software/libc/manual/html\+\_\+node/\+Regular-\/\+Expressions.\+html}
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
