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

Add ability to exclude character classes without errors #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eoin-obrien
Copy link

@eoin-obrien eoin-obrien commented Sep 20, 2019

Add support for the following CloudFormation parameters:

  • ExcludeLowercase
  • ExcludeNumbers
  • ExcludePunctuation
  • ExcludeUppercase
  • IncludeSpace
  • RequireEachIncludedType

These should allow for more readable syntax when excluding entire character classes, as opposed to enumerating them with CharactersToExclude.

Additionally, being able to set RequireEachIncludedType to false prevents CharactersToExclude from causing the following error when e.g. all numbers are excluded:

All characters of the desired type have been excluded.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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.

1 participant