Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regular expression

Status
Not open for further replies.

naveenprakashj

Technical User
May 2, 2002
14
US
Hi,

I need to match a string with a regular expression in c. I am trying to avoid system call.
the regular expression is
[a-z][a-z][0-9]<6 times>[a-z]
Can anyone show me how this can be done useing regexpr.h (i.e. compile and advance/step)

thanks in advance
 
Yatindra, :)

Thanks a lot for your response. I have used fnmatch (reason being that it is simpler to use. I know that it is used for path matching.. but it does the trick).
I appreciate your response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top