
\begin{DoxyItemize}
\item infos = Information about the regexdispatcher plugin is in keys below
\item infos/author = Armin Wurzinger \href{mailto:e1528532@libelektra.org}{\tt e1528532@libelektra.\+org}
\item infos/licence = B\+SD
\item infos/needs =
\item infos/provides =
\item infos/recommends =
\item infos/placements = presetstorage
\item infos/ordering = typechecker
\item infos/status = maintained experimental
\item infos/metadata = check/enum/\# check/enum/multi check/range check/validation
\item infos/description = a plugin which generates regex-\/representations of specification keywords
\end{DoxyItemize}

A plugin which generates regex representations of specification keywords for the typechecker plugin before saving a configuration specification. For instance the regex for the metakey {\ttfamily check/enum/\#} depends on the metakey\textquotesingle{}s values, as the two definitions {\ttfamily check/enum/\#1=A} and {\ttfamily check/enum/\#2=B} would result in the regex {\ttfamily A$\vert$B} stored in the {\ttfamily elektra/spec/regex/check/enum} metakey that can be treated by the typechecker as a regex directly.

\subsection*{Usage}

In order to generate regex representations for different specification keywords, mount a configuration specification along with this plugin.

{\ttfamily kdb mount $<$specification$>$ spec/$<$path$>$ $<$storage plugin to read the specification$>$ regexdispatcher typechecker}

\subsection*{Dependencies}


\begin{DoxyItemize}
\item ghc $>$= 8.\+0.\+1 $<$ 8.\+4
\item ghc-\/pkg, usually bundled with ghc
\item cabal, the haskell build system, usually bundled with ghc
\item augeas, which provides libfa utilized by this plugin
\end{DoxyItemize}

\subsection*{Supported Metakeys}

The following specification keywords are supported\+:


\begin{DoxyItemize}
\item check/enum/\# and check/enum/multi
\item check/range 
\end{DoxyItemize}