[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash-4.3-rc2 available for FTP
From: |
Mike Frysinger |
Subject: |
Re: Bash-4.3-rc2 available for FTP |
Date: |
Thu, 30 Jan 2014 17:45:14 -0500 |
User-agent: |
KMail/4.12.1 (Linux/3.13.0; KDE/4.12.1; x86_64; ; ) |
On Thursday, January 30, 2014 23:12:18 Andreas Schwab wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> > $ ./a.out 'a\-b' a-b
> > regcomp(a\-b) = 0
>
> The effect of \- in a BRE is undefined.
yes, but that's kind of irrelevant for the point raised here. bash's =~ uses
ERE, and passing in REG_EXTENDED to get ERE semantics with regcomp() yields
the same result (at least with glibc) as above.
-mike
signature.asc
Description: This is a digitally signed message part.