016 scan multi pattern pinned

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

Code

input.k

Actual compiler output

error[KORU162]: std/regex:scan supports a single pattern branch for now; multi-pattern scan (leftmost-across-patterns) is pinned as a follow-up
  --> tests/regression/600_STDLIB/640_REGEX/640_016_scan_multi_pattern_pinned/input.k:9:0

Must contain:

single pattern branch for now

Flows

flow ~scan click a branch to expand · @labels scroll to their anchor
scan (input: "a12")

Test Configuration

MUST_ERROR