[9fans] libutf + libregexp9 - Plan9
This is a discussion on [9fans] libutf + libregexp9 - Plan9 ; Hi,
Is there any examples about using "libutf" and "libregexp9"?
Thanks in davance
cheers
Younès...
-
[9fans] libutf + libregexp9
Hi,
Is there any examples about using "libutf" and "libregexp9"?
Thanks in davance
cheers
Younès
-
Re: [9fans] libutf + libregexp9
> 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
-
Re: [9fans] libutf + libregexp9
Hi Russ,
Thanks for the pointers.
cheers
Younès
Russ Cox a écrit :
>> 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
>
>
>
>