Skip to content

Commit 132ce6d

Browse files
committed
Schema: make name regex more minimal
1 parent 8b527e4 commit 132ce6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-library-properties-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type": "string",
1111
"minLength": 1,
1212
"maxLength": 63,
13-
"pattern": "^(([a-zA-Z][a-zA-Z0-9 _\\.\\-]*)|([a-zA-Z0-9][a-zA-Z0-9 _\\.\\-]*[a-zA-Z][a-zA-Z0-9 _\\.\\-]*))$"
13+
"pattern": "^(([a-zA-Z][a-zA-Z0-9 _\\.\\-]*)|([0-9][a-zA-Z0-9 _\\.\\-]*[a-zA-Z][a-zA-Z0-9 _\\.\\-]*))$"
1414
},
1515
"version": {
1616
"type": "string",

0 commit comments

Comments
 (0)