Regular Expressions 101

Community Patterns

LaTeX: Match contents of equation or align environment

0

Regular Expression
Python

r"
\\begin{(align|equation)\*?}(?P<eq>(.)+?)\\end{(align|equation)\*?}
"
gms

Description

no description available

Submitted by anonymous - 3 years ago