mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07: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=[
|
||||||
validate.Length(min=1, max=255),
|
validate.Length(min=1, max=255),
|
||||||
validate.Regexp(
|
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