Chapter 14. The <regex>
Header
Great blunders are often made, like large ropes, of a multitude of fibers.
—Les MisérablesVICTOR HUGO
Powerful software facilities, too, are often made of a multitude of fibers. The <regex>
header offers a somewhat daunting set of class templates and function templates for searches using regular expressions. Don’t let the size of the header deter you, though; you need to understand only a few basic ideas to use regular expressions effectively. You need to know how to write a regular expression (Chapter 15), how to create an object that holds a regular expression (Chapter 16), how to use a regular expression object to search for matches in a target string (Chapter 17), and how to hold the results of a search (Chapter ...
Get The C++ Standard Library Extensions A Tutorial and Reference 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.