delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/13/18:57:29

From: ehui AT sprint DOT ca (Edmond Hui)
Subject: Problem porting program using regex
13 Aug 1998 18:57:29 -0700 :
Message-ID: <199808130447.WAA01313.cygnus.gnu-win32@admun.home.ca>
Reply-To: ehui AT sprint DOT ca
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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

ED$
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019