|
-
August 2nd, 2008, 05:12 AM
#1
Search with wildcards in MS Visual C++ 6
I have a MS Visual C++ 6 application, it uses Standard Library only. I need to perform a search in string by pattern that may contain wildcard symbols '*'. For example: to search in "abcdefg" by pattern "a*g". The '*' means, as usual, any number (including 0) of any symbols.
How can I do that (this is MS Visual C++ 6, so I cannot use CAtlRegExp)? I would like to have not a library, but C++ sources to embed into my application. I do not need complicated RegExp's — only support of '*'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|