Re: [PATCH v4 10/11] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

From: Andy Shevchenko
Date: Wed Sep 04 2019 - 11:54:19 EST


On Wed, Sep 04, 2019 at 08:39:42AM -0700, Joe Perches wrote:
> On Wed, 2019-09-04 at 18:17 +0300, Andy Shevchenko wrote:
> > On Wed, Sep 04, 2019 at 06:04:13PM +0300, Sakari Ailus wrote:
> > > On Tue, Sep 03, 2019 at 03:06:07PM +0200, Petr Mladek wrote:

> > > Good catch. \w indeed matches a single letter; I'll change that to \w+ and
> > > change the other uses accordingly.
> >
> > It's weird. \w stands for word matching. How can it match one letter only?
>
> \w matches any single character classified as a âwordâ character (alphanumeric or â_â)

Thank you for explanation!

--
With Best Regards,
Andy Shevchenko