From 32a0ca981d227febefbe7afb901dbcb1c90ce29c Mon Sep 17 00:00:00 2001 From: Hugo van der Sanden Date: Thu, 10 Jan 2002 18:20:58 +0000 Subject: micropatch Message-Id: <200201101820.g0AIKw208580@crypt.compulink.co.uk> p4raw-id: //depot/perl@14174 --- regcomp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'regcomp.c') diff --git a/regcomp.c b/regcomp.c index 8399899271..65b0a5f6e3 100644 --- a/regcomp.c +++ b/regcomp.c @@ -2361,9 +2361,7 @@ S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 *flagp) } else if (paren != '?') /* Not Conditional */ ret = br; - if (flags&HASWIDTH) - *flagp |= HASWIDTH; - *flagp |= flags&SPSTART; + *flagp |= flags & (SPSTART | HASWIDTH); lastbr = br; while (*RExC_parse == '|') { if (!SIZE_ONLY && RExC_extralen) { -- cgit v1.2.1