regexps in C

This is a discussion on regexps in C within the C Programming forums, part of the General Programming Boards category; Does anyone know of a fairly painless way of doing a regexp search in C? Basically I'm looking for someting ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    202

    Question regexps in C

    Does anyone know of a fairly painless way of doing a regexp search in C? Basically I'm looking for someting with the functionality of awk or perl, but I can't seem to find anything that cuts the mustard quite yet, and would really appreciate it if anyone could give me a shove in the right direction.

    Thanks

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,821
    You need a regex package then
    http://www.gnu.org/directory/regex.html
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21