We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Define a schema, use dict type:
schema Attr: attr: {str:str}
How to check the key and value? Such as key match ^[a-z][a-z0-9]{0,63}$
The text was updated successfully, but these errors were encountered:
Here's a simple example:
import regex schema Attr: attr: {str:str} check: all k in attr { regex.match(k, r"^[a-z][a-z0-9]{0,63}$") } a = Attr{ attr: {"+==": "aaa"} }
Sorry, something went wrong.
thanks
No branches or pull requests
Define a schema, use dict type:
How to check the key and value?
Such as key match ^[a-z][a-z0-9]{0,63}$
The text was updated successfully, but these errors were encountered: