15 Feb
2015
15 Feb
'15
3:45 a.m.
Mark R Stallard wrote, On 02/13/2015 03:03 PM:
U. Mutlu
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: http://www.boost.org/doc/libs/1_57_0/libs/regex/doc/html/boost_regex/syntax/... This indicates a possible error either in the regex lib or in the above doc, isn't it? -- Uenal