From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] libutf + libregexp9 From: "Russ Cox" Date: Tue, 5 Feb 2008 11:47:54 -0500 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080205164755.CEF621E8C5B@holo.morphisms.net> Topicbox-Message-UUID: 46ecd7f0-ead3-11e9-9d60-3106f5b1d025 > Is there any examples about using "libutf" and "libregexp9"? There are manual pages linked at http://swtch.com/plan9port/unix/. If you grep for regexp or rune or utf in the Plan 9 or plan9port source trees, you will find plenty of examples in their native environment. The interface is the same in the ported libraries. Here are two reasonable examples: http://swtch.com/usr/local/plan9/src/cmd/sed.c http://swtch.com/usr/local/plan9/src/cmd/unicode.c Russ