Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old March 28th, 2006, 11:45 AM
kitty
Guest
 
Posts: n/a
Default fnmatch.h help

Can anybody help me out with how to use fnmatch.h to help with regular
expression use in c++ ?
Also does fnmatch.h work only in linux ?

Thankyou for all your help

  #2  
Old March 28th, 2006, 01:35 PM
mlimber
Guest
 
Posts: n/a
Default Re: fnmatch.h help

kitty wrote:[color=blue]
> Can anybody help me out with how to use fnmatch.h to help with regular
> expression use in c++ ?
> Also does fnmatch.h work only in linux ?
>
> Thankyou for all your help[/color]

fnmatch is a non-standard function and is technically off-topic here
(see http://www.parashift.com/c++-faq-lit....html#faq-5.9).
It is part of the GNU C library
(http://www.gnu.org/software/libc/man...-Matching.html)
and will work on any platform where that library will work (see
http://www.gnu.org/software/libc/man.../Porting.html). On its
proper use, I can't help you as I've never used it myself.

An on-topic question here would be about std::tr1::regex, which is the
same as boost::regex (http://boost.org/libs/regex/doc/index.html) and
which can likely do the same things as fnmatch.

Cheers! --M

  #3  
Old March 29th, 2006, 04:45 AM
kitty
Guest
 
Posts: n/a
Default Re: fnmatch.h help

Thankyou mlimber.. and Sorry for not following the group guidelines.
I will look up boost regex, but does it not also have the same problem
of installing the libraries onto the system prior to the usage of my
program ?
Thx again.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,338 network members.