未验证 提交 d05f4791 编写于 作者: M Martin Adler 提交者: GitHub

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

上级 e8757252
...@@ -35,7 +35,7 @@ separated by `/`. Examples: ...@@ -35,7 +35,7 @@ separated by `/`. Examples:
* igorw/event-source * igorw/event-source
The name must be lowercase and consist of words separated by `-`, `.` or `_`. 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). The `name` property is required for published packages (libraries).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册