Skip to content

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

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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