Discussion in 'C Programming' started by Amit Singhal, Jun 29, 2003.

  1. Amit Singhal

    Amit Singhal Guest

    I am having a problem in regexec funtion.
    What I did initially was compiled a regular expression and send it in a
    recursive function. But there is some probem in that, once the regexec
    executes the function, it modifies the compiled regular expression.
    Can anyone tell me for sure if this is the case and is there is
    an alternative way of solving this, I mean is there a way that I compile
    the regular expression just once insted of compiling it again and again.

    Amit Singhal, Jun 29, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.