Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
briantist opened this issue May 28, 2019 · 0 comments

Comments

@briantist
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant