Skip to content

Conversation

@valaphee
Copy link

@valaphee valaphee commented Aug 15, 2024

Closes #152
by modifying the string() type to be more relaxed as it already allows all characters if escape, and this just makes it more convenient to use by not requiring quoting except for white spaces, escapes and quotes.

Also adds a new string type called relaxedWord(). Which behaves the same as string except not allowing quoting and therefore also white spaces. word() is kept unchanged as this would change the possible inputs and may break things.

@valaphee valaphee changed the title Relax string() type and add wordRelaxed() Relax string() type and add relaxedWord() Aug 15, 2024
Copy link

@StillLutto StillLutto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, please get this approved, this is probably single-handedly the most useful argument for plugin developers.

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

Successfully merging this pull request may close these issues.

More generic string argument type

2 participants