Skip to content

MODEGEN fails to recognize some valid modes due to mistake in the regex #38

@weatherhead99

Description

@weatherhead99

consider the mode "AM37L,-1,100"

modegen.py fails to recognise this because the regex used to match the mode string group is ACF:TAPLINE\d+="[\w,]+". Therefore a negative number for the gain term (completely valid in archon taplines) causes this regex to fail and no modes to be generated.

The correct regex to match this line is probably
ACF:TAPLINE\d+=\"[\w,-]+\"

(note also escaping the double quote delimiters)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions