0

Is there some sort of wildcard search function in C? Detailed explanation. 

Phrase:
<blah="*" uid="ekdopakek">

So let's just say we've got this
48764546545blah<blah="whatever" uid="ekdopakek">blahblahblah

I'm looking for a function that will return the whatever, and just the whatever (nothing else).

Thanks!
4
Contributors
5
Replies
7
Views
11 Years
Discussion Span
Last Post by Ancient Dragon
0

>> Is there some sort of wildcard search function in C?

No

>>Detailed explanation.

write your own. c++ boost libraries have regexp libraries, but of course that isn't C.

0

>> Is there some sort of wildcard search function in C?

No

>>Detailed explanation.

write your own. c++ boost libraries have regexp libraries, but of course that isn't C.

Here is something in C from GNU that might interest you.

0

Hi
I want writing modeling of strstr() code without using <string.h>
please help me if possibele for you.

0

if you can't use functions in string.h or other libraries, then you will have to do it the hard way -- write your search function. A simple one is not really all that hard to do. just write your own strstr() function.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.