I am getting the output:
when using
\algblock{Match}{EndMatch}
\algcblock[Match]{Match}{Pattern}{EndMatch}
\begin{algorithmic}[1]
\Match
\Pattern
\State $ e \gets f $
\State $ e \gets f $
\EndMatch
\end{algorithmic}
Errors occurs only when there are more than one \State-lines at the end or a \State + \Statex line.