Re: regexec for filtering files in a directory

Greg 'groggy' Lehey <[email protected]>
Newsgroups gmane.os.freebsd.newbies
Organization The FreeBSD Project
Message-ID <[email protected]>
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.
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFB80uSIubykFB6QiMRAoXCAJ4/p4d/QxDfcpmyGCb2AgXJ8wKlqACfThWn
Kv9NxgCR/CgyhCGKTIA2lWk=
=qqnC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.