[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 19:18:31 -0500 |
User-agent: |
KMail/4.12.1 (Linux/3.13.0; KDE/4.12.1; x86_64; ; ) |
On Thursday, January 30, 2014 23:53:55 Andreas Schwab wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> > 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.
>
> The effect of \- in an ERE is still undefined.
so it is. yet still irrelevant. the GNU library defines behavior explicitly:
https://www.gnu.org/software/gnulib/manual/html_node/The-Backslash-Character.html#The-Backslash-Character
and it still doesn't explain why every version from bash-3.0 through bash-4.2
behaves the same but bash-4.3 does not. the release notes specifically call
out backslash changes to make things "more consistent behavior". i don't
changing the behavior of the example i posted makes sense.
-mike
signature.asc
Description: This is a digitally signed message part.