|
@@ -1353,6 +1353,8 @@ tre_parse(tre_parse_ctx_t *ctx)
|
|
|
if (ctx->cflags & REG_EXTENDED
|
|
|
|| ctx->re == ctx->re_start)
|
|
|
{
|
|
|
+ if (!(ctx->cflags & REG_EXTENDED))
|
|
|
+ STACK_PUSHX(stack, int, PARSE_CATENATION);
|
|
|
result = tre_ast_new_literal(ctx->mem, ASSERTION,
|
|
|
ASSERT_AT_BOL, -1);
|
|
|
if (result == NULL)
|