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

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • The proliferation of cloud computing options has begun to change the way storage is thought about, procured, and used. IT managers and departments need to think through how cloud options might fit into and complement their onsite data infrastructures. This white paper explains cloud storage and backup, providing advice about the tools and best practices for its implementation and use. Read this white paper for some useful takeaways about how to take advantage of cloud storage for high availability, backup and …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds