[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Does bash support ENHANCED FEATURES in re_format(7)?
From: |
Greg Wooledge |
Subject: |
Re: [Help-bash] Does bash support ENHANCED FEATURES in re_format(7)? |
Date: |
Mon, 13 May 2013 08:35:51 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Sun, May 12, 2013 at 10:19:20PM -0500, Peng Yu wrote:
> re_format(7) says (under ENHANCED FEATURES)
> 117 \d Matches a digit character. This is equivalent to
> `[[:digit:]]'.
GNU/Linux extensions to the POSIX standards for regular expression
syntax are not guaranteed to work in all applications.
For what it's worth, the re_format(7) man page in Debian 6.0 does not
even have an "ENHANCED FEATURES" section. Neither does the re_format(7)
in Debian wheezy (upcoming 7.0).
> The following code shows that '\d' does not work. Does bash support
> these ENHANCED FEATURES in re_format(7)?
Obviously not.