lkml.org 
[lkml]   [2021]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema
Am 2021-03-16 19:06, schrieb Pratyush Yadav:
> On 16/03/21 06:45PM, Michael Walle wrote:
>> Am 2021-03-15 19:30, schrieb Pratyush Yadav:
>>
>> ..
>> > > +patternProperties:
>> > > + "@[0-9a-f]+":
>>
>> Shouldn't this be "^.*@[0-9a-f]+$"?
>
> The pattern has to match _anywhere_ in the string so both should match
> the flash node. Your pattern is more "strict" or "precise". See the
> note
> at [0].

I know, but specifying the whole line is widely used in the bindings.

-michael

\
 
 \ /
  Last update: 2021-03-16 19:24    [W:0.114 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site