Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: =~ doesn't work with NUL characters
- X-seq: zsh-workers 41297
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: =~ doesn't work with NUL characters
- Date: Wed, 14 Jun 2017 16:08:24 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=fGq4J+T3bfIzwVZ0BLsBjpW7t3tnSQjj5PJipS3UqNg=; b=vrhcyZbNAEyHs2/jySOe5wD3PsxvJblP6h7I8W+FBfhPfwFFH3Ljc1jeBc+k+aGwIk FdW0h61mAoeQVY/Tp+uITGjwDCnfj5o0ydP7s+tZjfxNGyWCyFy4a/vptcfSaT466pL6 NSdgblvn//HkgaON66d4UWH0cUKz/N/LA4xz82b5ONPLC1s2ebogc7qQTq4DzN75WmjV S+U09mrIqsi8i3aIUfb/7FBz5ltbfVSGqaGPcaoEeVIol76KStlIv9ifpFWdBa1MHIeP RrNDnKK6uB/t/IKgs4Tp3fY5g/bmocCkDcCa04BTGlwmaZJg5MDvXuLApovZRCF1gHP/ iY6A==
- In-reply-to: <20170614204938.GA76510@tower.spodhuis.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20170613100217.GA9529@chaz.gmail.com> <20170614204938.GA76510@tower.spodhuis.org>
On Jun 14, 4:49pm, Phil Pennock wrote:
}
} My personal inclination is to handle NULL in the PCRE case.
This harkens back to the discussion of whether =~ should implicitly
(i.e., by way of setopt) choose a regex package, or should always
mean the same thing.
Given that it's already doing the choose-implicitly thing, I have no
additional objection to it also handling nul bytes.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author