The concept of regular expressions should be familiar to you from their use in sed, grep, and other common Unix commands.
C++ compilers, until recently, had no equivalent to these in their standard library. The C++11 standard introduced some classes very similar to the Java ones.
1 Introduction
If you find the description here less than exciting, you might want to return to this earlier discussion where we faced the problem of describing the set of all strings consisting of one or more adjacent occurrences of a whitespace character, a left or right parenthesis, or a comma. That’s the sort of text matching at which regular expressions really excel.
© 2014-2022, Old Dominion Univ.