Commit 1585e17244 for perl
commit 1585e17244e24beea26be81af0a2cce04331dd26
Author: David Mitchell <davem@iabyn.nospamdeletethisbit.com>
Date: Thu Oct 15 21:52:03 2026 +0100
regmatch: fix some indentation.
Whitespace-only.
diff --git a/regexec.c b/regexec.c
index 21210bb964..05f2f79dbd 100644
--- a/regexec.c
+++ b/regexec.c
@@ -9243,31 +9243,31 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
}
{
- /* execute the (?{...}) code block and do some basic
- * processing of the return value */
- REGEXP *re_sv = S_run_code_block(aTHX_ rex, reginfo,
- orig_savestack_ix, logical, EVAL_CODE_DATA_SLOT(scan));
-
- /* restore paren state */
- regcp_restore(rex, ST.lastcp, &maxopenparen);
- PL_curpm_under = PL_curpm;
- PL_curpm = PL_reg_curpm;
-
- if (logical != 2) {
- if (logical == 1) {
- sw = !!re_sv;
- logical = 0;
+ /* execute the (?{...}) code block and do some basic
+ * processing of the return value */
+ REGEXP *re_sv = S_run_code_block(aTHX_ rex, reginfo,
+ orig_savestack_ix, logical, EVAL_CODE_DATA_SLOT(scan));
+
+ /* restore paren state */
+ regcp_restore(rex, ST.lastcp, &maxopenparen);
+ PL_curpm_under = PL_curpm;
+ PL_curpm = PL_reg_curpm;
+
+ if (logical != 2) {
+ if (logical == 1) {
+ sw = !!re_sv;
+ logical = 0;
+ }
+ PUSH_STATE_GOTO(EVAL_B, next, locinput, loceol,
+ script_run_begin);
+ /* NOTREACHED */
}
- PUSH_STATE_GOTO(EVAL_B, next, locinput, loceol,
- script_run_begin);
- /* NOTREACHED */
- }
- /* only /(??{ ... })/ from now on */
- logical = 0;
+ /* only /(??{ ... })/ from now on */
+ logical = 0;
+
/* extract RE object from returned value; compiling if
* necessary */
-
if (SvTYPE(re_sv) == SVt_REGEXP) {
re_sv = reg_temp_copy(NULL, re_sv);
}
@@ -9304,6 +9304,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
sv_magic(ret, MUTABLE_SV(re_sv), PERL_MAGIC_qr, 0, 0);
}
}
+
SAVEFREESV(re_sv);
regexp *re = ReANY(re_sv);