Using Regular Expressions for Search/Replace with eMbedded Visual C++

Wednesday Jul 31st 2002 by Andreas Pohl based on article by Zafir Anjum
Share:

Code for using regular expressions for searching and replacing in an EMbedded Visual C++ application.

Environment: eMbedded Visual C++ 3

I took the code of Zafir Anjum and tried to compile it with eMbedded Visual C++ to use it on a Windows CE-based device, but it didn't work. So, I changed his code so that it compiles and runs correctly. The code of Zafir Anjum doesn't work with Unicode strings that are standardly used. I did not change this, but basically I changed all TCHAR variables and all generic text routines to their SBCS equivalents. (TCHAR to char and, for example, _tcslen (generic) to strlen (SBCS).)

Editor's Note:

The original article is located at http://www.codeguru.com/string/reg_ex.shtml. It presents complete listings of the original code. To see the code created for eMbedded Visual C++, see the download file below.

Downloads

Download source - 8 Kb
Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved