There is a simple C++ method to use pattern matching on strings? The code should sound like this:
if (regexpcmp(\"l?nole*[0-9]\", \"linoleum1\")) { //we ha
A standard regex library (that is based on boost::regex) is available in the TR1 namespace if you use lasts versions of the most used compilers : std::tr1::regex.