Date: Sun, 23 Jan 2005 17:30:34 +1030 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Keith Bottner <keith@barkinglizards.com> Cc: "Freebsd-Newbies@Freebsd. Org" <freebsd-newbies@freebsd.org> Subject: Re: regexec for filtering files in a directory Message-ID: <20050123070034.GI85706@wantadilla.lemis.com> In-Reply-To: <20050121212021.EC93A43D2D@mx1.FreeBSD.org> References: <20050121212021.EC93A43D2D@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--m972NQjnE83KvVa/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Friday, 21 January 2005 at 15:18:21 -0600, Keith Bottner wrote: > I am trying to use the regcomp and regexec methods to filter files from a > directory; however, the regexec function always says that it matches the > pattern. Is there any problems with the regex functions? Or something in the > code that I am just missing? Or is there just a better way to do what I am > trying to do? Yes. Ask the question on FreeBSD-questions. This question is off-topic for the newbies list, and it's questions like this that risk shutting it down. You'll get better results on -questions. Greg -- See complete headers for address and phone numbers. --m972NQjnE83KvVa/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB80uSIubykFB6QiMRAoXCAJ4/p4d/QxDfcpmyGCb2AgXJ8wKlqACfThWn Kv9NxgCR/CgyhCGKTIA2lWk= =qqnC -----END PGP SIGNATURE----- --m972NQjnE83KvVa/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050123070034.GI85706>