[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regular Expression matching operation =~
From: |
Chet Ramey |
Subject: |
Re: Regular Expression matching operation =~ |
Date: |
Mon, 23 Sep 2019 09:21:44 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 9/22/19 5:44 PM, Allodoxaphobia wrote:
> In moving a bash ver. 4.3.48 (Ubuntu) program to a bash ver. 5.0.11
> (FreeBSD) environment I encountered either a bug, a quirk, or
> an undocumented feature.
It's not exactly undocumented, more undefined. You can't count on the
NUL character or the empty string doing anything in particular.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/