Summary

The Regular Expressions classes add a lot of power to your MFC applications by giving you improved string-handling and manipulation techniques not found inherently in MFC. The classes themselves are few, and they are quite easy to use; the complexity involved depends only on the complexity of the expressions that you want to use. Irrespective of how simple or how complex your expressions are, the nature and behavior of the Regex and the other classes do not change.

During the course of this chapter, you saw how to use the Regex class, which represents an immutable Regular Expressions object, to split strings by specifying patterns (delimiters) to look for and by supplying expressions. After that, you discovered how to parse strings in ...

Get Extending MFC Applications with the .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.