File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ existing set of endpoints in that scope.
114
114
The pattern for the crate scope is desugared into a regular expression,
115
115
following these rules:
116
116
117
- * ** ` ^ ` ** is added at the start of the pattern, and ** ` $ ` ** is added at the end of it.
117
+ * ** ` ^( ` ** is added at the start of the pattern, and ** ` ) $` ** is added at the end of it.
118
118
* ** ` , ` ** is desugared into ` | ` , separating multiple patterns.
119
119
* ** ` * ` ** is desugared into ` .* ` , matching zero or more characters greedily.
120
120
* All other characters are quoted to prevent them from having a special meaning.
@@ -128,7 +128,7 @@ foo,bar-*
128
128
... is desugared into the following regex:
129
129
130
130
```
131
- ^foo|bar\-.*$
131
+ ^( foo|bar\-.*) $
132
132
```
133
133
134
134
Any combination of those characters is allowed, but crates.io might define a
You can’t perform that action at this time.
0 commit comments