2.6.1 Regular Expressions

PIC <regex>

Regular expressions are now first class citizen in the STL. We can finally easily write an HTML parser in a few lines of C++16!

Interestingly, the format for the expressions can be of almost any existing syntax: ECMAScript, grep, awk…

16Reference for the joke: https://stackoverflow.com/a/1732454/1171783. If you don’t follow this link, just know that one cannot correctly parse random HTML with a regular expression.