Using regular expressions in C++ with the wxRegEx class of the wxWidgets library