1
0
Fork 0

Fix outdated package name regex pattern in documentation (#11523)

pull/11533/head
Martin Adler 2023-07-01 14:04:02 +02:00 committed by GitHub
parent e8757252e5
commit d05f4791cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ separated by `/`. Examples:
* igorw/event-source
The name must be lowercase and consist of words separated by `-`, `.` or `_`.
The complete name should match `^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]?|-{0,2})[a-z0-9]+)*$`.
The complete name should match `^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]|-{1,2})?[a-z0-9]+)*$`.
The `name` property is required for published packages (libraries).