Anyone know of any standard (or non-standard) library that will give C somewhat of a regular expression pattern matching capability? I am very familiar with all the string operator functions (strcmp, strstr, strtok, etc.) but am looking for something a little more powerful. Something that will mimic perl's capabilities. I understand that this is somewhat impossible but I also know that perl's interpreter is writtin in C and when perl code is interpreted it is compiled into byte code and run so C must have these capabilitires, however drawn out it may be.
Any ideas on how one could search a string for numerous patterns and return these patterns if found, without having to getc each and every character (or hell even with doing it that way)?
2 posts •Page 1 of 1