This is the mail archive of the
mailing list for the Cygwin project.
Problem porting program using regex
- To: gnu-win32 at cygnus dot com
- Subject: Problem porting program using regex
- From: Edmond Hui <ehui at sprint dot ca>
- Date: Wed, 12 Aug 1998 22:47:01 -0600 (MDT)
- Reply-To: ehui at sprint dot ca
Hi! I'm trying to port a small program from Linux to Win32 using gnu-win32
and run into a problem.
One part of the program supposes to traverse the directories and create
a file list. It utilizes regex to filter out "." and ".." (this is need
to prevent infinite loop). Somehow, regex keeps complaining about all
search patterns, which are working perfectly under linux.
The patterns for regex are:
I'm very green to regex and gnu-win32 in general and wondering what
might be the problem.
One thing I should mention is that regex.h is missing from b19, so I
downloaded regex-0.12 from cygnus's FTP site and put the .h file in the
appropiate place. (I wonder if this is the right one to use)
Thanks in advance
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".