File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3636 "gitlab.com/foo/bar//@.yml.foo.yml@bar.yml@/some/ref" ,
3737 "@.yml.foo.yml@bar.yml" ,
3838 ),
39+ ("gitlab.com/foo/bar//a.yml@/some/ref" , "a.yml" ),
40+ ("gitlab.com/foo/bar//a/b.yml@/some/ref" , "a/b.yml" ),
3941 # Malformed `ci_config_ref_uri`s.
4042 ("gitlab.com/foo/bar//notnested.wrongsuffix@/some/ref" , None ),
4143 ("gitlab.com/foo/bar//@/some/ref" , None ),
Original file line number Diff line number Diff line change 3333 # component of the claim.
3434
3535 ( # our capture group
36- .+ # match one or more of any character, including slashes
37- [^/] # match at least one non-slash character, to prevent
36+ .* # match zero or more of any character, including slashes
37+ [^/] # match exactly one non-slash character, to prevent
3838 # empty basenames (e.g. `foo/.yml`)
3939 \.(yml|yaml) # match the literal suffix `.yml` or `.yaml`
4040 )
You can’t perform that action at this time.
0 commit comments