Salut, Bernd Walter !  

On Fri, 5 Apr 2002, Bernd Walter wrote:

> On Fri, Apr 05, 2002 at 07:56:53PM +0600, Ilia Chipitsine wrote:
> > Dear Sirs,
> > 
> > Perl has very useful "split" function, it "split"s a string according
> > arbitrary regular expression. Is there's such a C function ?
> > I'm moving few programs from Perl to C.
> 
> strsep(3)
> Especially the exmaple in the manpage should be interesting for you.

:))))))))

it doesn't help with

@t = split(/from=<|>/,$a);

where "from<|>" is regex. strsep knows nothing about regex.

> 
> -- 
> B.Walter              COSMO-Project         http://www.cosmo-project.de
> [EMAIL PROTECTED]         Usergroup           [EMAIL PROTECTED]
> 

Regards, (Наилучшие пожелания)
Ilia Chipitsine (Илья Шипицин)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to