O'Reilly logo

Visual C++ 2008: How to Program, Second Edition by D. T. Quirk, H. M. Deitel, P. J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 24. Regular Expressions

 

Art is the imposing of a pattern on experience, and our aesthetic enjoyment is recognition of the pattern.

 
 --Alfred North Whitehead
 

You ought to be able to show that you can do it a good deal better than anyone else with the regular tools before you have a license to bring in your own improvements.

 
 --Ernest Hemmingway
 

Matchmaker, Matchmaker look through your book, and make me a perfect match.

 
 --Sheldon Harnick, Fiddler on the Roof

OBJECTIVES

In this chapter you will learn:

  • What regular expressions are and when they are useful.

  • To use regular expressions in conjunction with classes Regex and Match.

  • To iterate over matches to a regular expression.

  • To use character classes to match any character from a set of characters. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required