mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Allow spaces and dots in example's name ([package manifest)
This commit is contained in:
@ -143,7 +143,7 @@ class ExampleSchema(StrictSchema):
|
||||
validate=[
|
||||
validate.Length(min=1, max=255),
|
||||
validate.Regexp(
|
||||
r"^[a-zA-Z\d\-\_/]+$", error="Only [a-zA-Z0-9-_/] chars are allowed"
|
||||
r"^[a-zA-Z\d\-\_/\. ]+$", error="Only [a-zA-Z0-9-_/. ] chars are allowed"
|
||||
),
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user