We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
validTopicChannelNameRegex
1 parent 393f7b9 commit a77821dCopy full SHA for a77821d
internal/protocol/names.go
@@ -4,7 +4,7 @@ import (
4
"regexp"
5
)
6
7
-var validTopicChannelNameRegex = regexp.MustCompile(`^[\.a-zA-Z0-9_-]+(#ephemeral)?$`)
+var validTopicChannelNameRegex = regexp.MustCompile(`^[.a-zA-Z0-9_-]+(#ephemeral)?$`)
8
9
// IsValidTopicName checks a topic name for correctness
10
func IsValidTopicName(name string) bool {
0 commit comments