Tente isto:
pcregrep -M '\begin{question}(.|\n)*?\end{question}'
Explicação:
-
pcregrep: grep com expressões regulares compatíveis com Perl -
-M: permitir que os padrões correspondam a mais de uma linha -
(.|\n)*?: qualquer caractere normal.ou nova linha\ncorrespondido zero ou mais vezes., no modo não ganancioso?.
Resultado:
\begin{question}
{You get a patient.
What do you notice first in this patient?}
Absence of peripheral pulse.
\end{question}
\begin{question}
{What was the first Takayasu case?}
Young woman in Asia with red vessels in the eye.
So special eye diagnosis done.
Affects eye.
\end{question}
\begin{question}
{What you should always include in Takayasu treatment?
What are the symptoms?}
Blood pressure.
Aneurysms which will burst without treatment.
So blood pressure decreasing drugs like beta blockers along in combination with other drugs.
\end{question}