| www.delorie.com/archives/browse.cgi | search |
| Date: | Wed, 15 Jul 1998 10:24:48 +0300 (IDT) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| To: | Myknees <myknees AT aol DOT com> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Regular expression libraries? |
| In-Reply-To: | <1998071423375600.TAA20411@ladder01.news.aol.com> |
| Message-ID: | <Pine.SUN.3.91.980715102426.10743Q-100000@is> |
| MIME-Version: | 1.0 |
On 14 Jul 1998, Myknees wrote: > I don't know how much you know. Did you know about the regex.h > functions, like regcomp()? > > You have to include an extra header, like this, > #ifdef DJGPP > #include <sys/types.h> > #endif > #include <regex.h> Posix explicitly says that <sys/types.h> should be included before <regex.h>, so you don't need to condition this on DJGPP. Any compiler that objects to <sys/types.h> is the one to be ashamed ;-).
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |