Thread: regexps in C

  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
    39,662
    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.

Popular pages Recent additions subscribe to a feed