summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/latexindent/LatexIndent/Environment.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/latexindent/LatexIndent/Environment.pm')
-rwxr-xr-xMaster/texmf-dist/scripts/latexindent/LatexIndent/Environment.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/Environment.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/Environment.pm
index 401cbecbee2..c658acedf27 100755
--- a/Master/texmf-dist/scripts/latexindent/LatexIndent/Environment.pm
+++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/Environment.pm
@@ -51,7 +51,7 @@ sub construct_environments_regexp{
(
(?: # cluster-only (), don't capture
(?! # don't include \begin in the body
- (?:\\begin) # cluster-only (), don't capture
+ (?:\\begin\{) # cluster-only (), don't capture
). # any character, but not \\begin
)*? # non-greedy
(\R*)? # possible line breaks (into $5)