Boost logo

Boost Users :

Subject: Re: [Boost-users] [regex] problem w/ regex::extended
From: U.Mutlu (for-gmane_at_[hidden])
Date: 2015-02-14 22:45:50

Mark R Stallard wrote, On 02/13/2015 03:03 PM:
> U. Mutlu <for-gmane_at_[hidden]> wrote:
>> #define WORD "[\\w\\-\\.~/]+"
> I suspected that Perl would support the escape sequence \w
> inside a [] character set, but POSIX extended might not.
> The tests I ran affirmed those suspicions.

Thank you.
But on the "POSIX Extended Regular Expression Syntax" page
the escape sequence \w is very well listed:

This indicates a possible error either in the regex lib or in the above doc,
isn't it?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at