# Test workflow with adjacent wildcards in filename
# Tests: parser handling of multiple wildcards without separators

PREFIXES = ["A", "B"]
SUFFIXES = ["X", "Y", "Z"]

rule all:
    input: expand("output/{prefix}{suffix}.done", prefix=PREFIXES, suffix=SUFFIXES)

rule process:
    output: "output/{prefix}{suffix}.done"
    wildcard_constraints:
        prefix="[A-Z]",
        suffix="[A-Z]"
    shell: "echo 'Prefix={wildcards.prefix} Suffix={wildcards.suffix}' > {output}"
