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

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


Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • The explosion in mobile devices and applications has generated a great deal of interest in APIs. Today's businesses are under increased pressure to make it easy to build apps, supply tools to help developers work more quickly, and deploy operational analytics so they can track users, developers, application performance, and more. Apigee Edge provides comprehensive API delivery tools and both operational and business-level analytics in an integrated platform. It is available as on-premise software or through …

  • The first phase of API management was about realizing the business value of APIs. This next wave of API management enables the hyper-connected enterprise to drive and scale their businesses as API models become more complex and sophisticated. Today, real world product launches begin with an API program and strategy in mind. This API-first approach to development will only continue to increase, driven by an increasingly interconnected web of devices, organizations, and people. To support this rapid growth, …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds