Skip to content

Arguments with quoted newlines will prevent the generator from being parsed correctly #29

@briantist

Description

@briantist

Example:

Invoke-Generate -Template "[randomdate 1/1/1999 5/5/5555 'yyyy
2
3']"

Just outputs the command since it doesn't get recognized properly as a generator.

I think this is due to the regex being used to split, since it uses . but is not in s mode. Requires some further investigation.

Also some ideas I had for improving the parsing of templates might outright resolve this anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions