assert re.match(br'''\\documentclass{article}
(\\usepackage{[a-z]+}\n)+\\usepackage\[margin=20mm\]{geometry}
\\begin{document}
assert re.match(br'''\\documentclass{article}
(\\usepackage{[a-z]+}\n)+\\usepackage\[margin=20mm\]{geometry}
\\begin{document}