008 reject group under quantifier

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.k

Actual compiler output

error[KORU162]: regex: cannot compile pattern `(?<x>a)+`: GroupUnderQuantifier
  --> tests/regression/600_STDLIB/640_REGEX/640_008_reject_group_under_quantifier/input.k:8:0

Must contain:

GroupUnderQuantifier

Flows

flow ~match click a branch to expand · @labels scroll to their anchor
match (expr: "aaa")

Test Configuration

MUST_ERROR