Skip to content

ideas for improving regular expression for determining parameter types #19

Description

@bernt-matthias

Currently key words min|max indicate an integer parameter, but this could be a float as well.

So one should check if these keyword are followed by an integer/float value (the latter maybe also in scientific notation). Or simply check if there is a float or integer on the line at all.

Choices are often represented (e.g. in argparse) by {A,B,C}, I often see ranges represented by [min,max], (min,max), [min:max], (min:max), where min and max ar integers / floats.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions