On Tuesday, August 29, 2023, Alejandro Colomar <a...@kernel.org> wrote:

> Hi Paul,
>
> On 2023-08-29 14:45, Paul Smith wrote:
> > On Tue, 2023-08-29 at 11:32 +0200, Alejandro Colomar wrote:
> >> Am I missing something?  Is something like that allowed anyhow?
> >
> > Multiple "%" are allowed, in that they won't throw an error.  But, only
> > the first "%" is replaced.  The second (and subsequent) "%" are just
> > normal characters, not pattern matching.
>
> Thanks!  That was my expectation before reading the docs.  Maybe you
> could reword it to be explicit that only one % is used as a wildcard.


Good morning.

The same paragraph says that after matching % the rest of the name must
match exactly.
However, be careful if you want to rely on this. We fixed it just recently.
4.3 and earlier would replace all %,

Regards, Dmitry




> Cheers,
> Alex
>
> --
> <http://www.alejandro-colomar.es/>
> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
>
>

Reply via email to