From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tristan <9p-st@imu.li> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: <20130502132556.GA2653@polynum.com> References: <20130502123825.GA1975@polynum.com> <20130502132556.GA2653@polynum.com> Message-Id: <257b5f.1257db09.089d.mx@tumtum.plumbweb.net> Date: Thu, 2 May 2013 09:43:10 -0400 User-Agent: mx Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Octets regexp Topicbox-Message-UUID: 509d7df4-ead8-11e9-9d60-3106f5b1d025 > And after some thought, I don't see an obvious reason why the regexp > could not be used with bytes strings (so UTF-8 is OK) without trying to > match runes (since not every bytes string is a correct UTF-8 sequence). with octet based regexps, [=C3=9E=C3=BE] doesn't match =C3=BE, but 0xc3, = 0xbe and 0x9e independantly. tristan --=20 All original matter is hereby placed immediately under the public domain.