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

Relax string() type and add relaxedWord() #153

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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
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
1 participant