Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Content-Type: text/plain; charset="iso-8859-1" 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" To: Content-Transfer-Encoding: 8bit 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/