summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/regcomp.c b/regcomp.c
index 82d89b6161..7eebcaca95 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -3008,15 +3008,10 @@ S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp, U32 depth)
goto parse_rest;
}
else if ( *RExC_parse == '*') { /* (*VERB:ARG), (*construct:...) */
- if (RExC_parse[1] == '{') {
+ if (RExC_parse[1] == '{') { /* (*{ ... }) optimistic EVAL */
fake_eval = '{';
goto handle_qmark;
}
- else
- if ( RExC_parse[1] == '*' && RExC_parse[2] == '{' ) {
- fake_eval = '?';
- goto handle_qmark;
- }
char *start_verb = RExC_parse + 1;
STRLEN verb_len;