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

Provide support for re.fullmatch in String trait type #1628

Open
mdickinson opened this issue Apr 5, 2022 · 1 comment
Open

Provide support for re.fullmatch in String trait type #1628

mdickinson opened this issue Apr 5, 2022 · 1 comment
Labels
component: core Issues related to the core library type: enhancement

Comments

@mdickinson
Copy link
Member

A minor feature request: for String validation with a regex, re.fullmatch is more often going to be what we want to use than re.match. It would be nice to provide a way to do that full match.

@mdickinson
Copy link
Member Author

Actually, the needs might be better served by a way to plug in a general validation function, or at least documentation of how to easily subclass the Str trait type to add such validation.

@mdickinson mdickinson added type: enhancement component: core Issues related to the core library labels Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: core Issues related to the core library type: enhancement
Projects
None yet
Development

No branches or pull requests

1 participant