-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
Feature - Add ability to provide RegEx expressions #82
Labels
Comments
|
I think it must be some thing like this :
|
Want to PR that? Do we like Bad or Invalid format better? |
yep, InvalidFormat is better, I've sent the PR |
Here is the method I implemented. I went with one of @ardalis's early implementation of the a guard clause
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice to pass regular expression to the Guard.Against method where the expression is processed. Thinking further on the idea, I'm not sure how I would name these methods to help with readability.
The text was updated successfully, but these errors were encountered: