From d05f4791cd3eef7f1937e91d927b89f5f9583f1d Mon Sep 17 00:00:00 2001 From: Martin Adler Date: Sat, 1 Jul 2023 14:04:02 +0200 Subject: [PATCH] Fix outdated package name regex pattern in documentation (#11523) --- doc/04-schema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/04-schema.md b/doc/04-schema.md index 8cdb3117a..de22c551a 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -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).