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

  • Ever-increasing workloads and the challenge of containing costs leave companies conflicted by the need for increased processing capacity while limiting physical expansion. Migration to HP's new generation of increased-density rack-and-blade servers can address growing demands for compute capacity while reducing costly sprawl. Sponsored by: HP and Intel® Xeon® processors Intel, the Intel logo, and Xeon Inside are trademarks of Intel Corporation in the U.S. and/or other countries. HP is the sponsor …

  • You probably have several goals for your patient portal of choice. Is "community" one of them? With a bevy of vendors offering portal solutions, it can be challenging for a hospital to know where to start. Fortunately, YourCareCommunity helps ease the decision-making process. Read this white paper to learn more. "3 Ways Clinicians can Leverage a Patient Portal to Craft a Healthcare Community" is a published document owned by www.medhost.com

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds