From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 2 May 2013 21:04:15 +0200 From: tlaronde@polynum.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20130502190415.GB412@polynum.com> References: <20130502123825.GA1975@polynum.com> <20130502150829.GA435@polynum.com> <2292951.aK3zqF2TmN@blitz> Mime-Version: 1.0 In-Reply-To: <2292951.aK3zqF2TmN@blitz> User-Agent: Mutt/1.4.2.3i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Re: [9fans] Octets regexp Topicbox-Message-UUID: 513cec9a-ead8-11e9-9d60-3106f5b1d025 On Thu, May 02, 2013 at 08:45:28PM +0200, dexen deVries wrote: > please pardon the silly question, but... how about piping the binary data > through xd(1) before sending it to regexp(3)? > Because it will work only for some cases, since newlines and formatting come in the picture and it still imposes to have regexp rune compatible, i.e. not every sequence is allowed it has to be an UTF-8 compatible one. -- Thierry Laronde http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C