Thread: regular expression searches

  1. #1
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    segmentation fault

    Question regular expression searches

    I need your opinion on the best way to include regular expression searches in a C app. I presume there is some library out other option is embedded perl.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    There is a regular expression library that works pretty well.

  3. #3
    Registered User
    Join Date
    Sep 2007
    POSIX systems support regular expressions. You should probably have a man page/pages for it; look for regcomp, or regexec.

    There's also PCRE, which does Perl-style regular expressions. I'm not sure what range of implementations PCRE works on; POSIX at least.

  4. #4
    Join Date
    Dec 2007
    This here looks like a good thread.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  2. recursion error
    By cchallenged in forum C Programming
    Replies: 2
    Last Post: 12-18-2006, 09:15 AM
  3. Regular Expression
    By tintifaxe in forum C++ Programming
    Replies: 3
    Last Post: 06-14-2006, 07:16 AM
  4. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  5. Regular Expression Troubles
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 04-11-2002, 04:21 PM