Does anybody know how to use regular expressions within C++. I am looking for a function to compare a string against a regular expression.
I am happy for any provided help.
The ideal function should take an input string and a regular expression. If the string matches the regular expression the function should return true.