delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/04/12:33:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
content-class: urn:content-classes:message
Subject: RE: Cygwin 1.3.3 problem using the regcomp function
MIME-Version: 1.0
Date: Sun, 4 Nov 2001 11:33:25 -0600
Message-ID: <10FA6A0E1B5C89408AD99E6861C124F00436CC@sumadc.SUMA.COM>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Cygwin 1.3.3 problem using the regcomp function
Thread-Index: AcFiP3rFX/AEcbSaQVmedTITtqOzhADFr5mw
From: "Gregg Lebovitz" <gregg AT suma DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fA4HXIc11756

Answer to problems with using regex.

It is solved by using the compiler option 
"-lregex". 

Gregg

---- Original Message -----------

Folks,

I have code that I am porting to cygwin. The program is currently
compiling and working on linux.

The problem I am seeing with the Cygwin version is that regcomp will not
compile my regular expressions and returns a non-zero value (indicating
an error).

The value returned by the regcomp is a large number (167844352 decimal
or 0xA011A00 hex).

Are these regex functions actually included in cygwin or are they merely
stubs?

Gregg

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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