comparison src/regex.c @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 9d177e8d4150
children abe6d1db359e
comparison
equal deleted inserted replaced
439:357dd071b03c 440:8de8e3f6228a
2068 } 2068 }
2069 2069
2070 /* If we get here, we found another repeat character. */ 2070 /* If we get here, we found another repeat character. */
2071 if (!(syntax & RE_NO_MINIMAL_MATCHING)) 2071 if (!(syntax & RE_NO_MINIMAL_MATCHING))
2072 { 2072 {
2073 /* `*?' and `+?' and `??' are okay (and mean match 2073 /* "*?" and "+?" and "??" are okay (and mean match
2074 minimally), but other sequences (such as `*??' and 2074 minimally), but other sequences (such as "*??" and
2075 `+++') are rejected (reserved for future use). */ 2075 "+++") are rejected (reserved for future use). */
2076 if (minimal || c != '?') 2076 if (minimal || c != '?')
2077 FREE_STACK_RETURN (REG_BADRPT); 2077 FREE_STACK_RETURN (REG_BADRPT);
2078 minimal = true; 2078 minimal = true;
2079 } 2079 }
2080 else 2080 else