Add C++ example...although it currently does not work due to lack of <regex> support in libc++