title: There is a function to use pattern matching (using regular expressions) in C++?
body: <p>There is a simple C++ method to use pattern matching on strings? The code should sound like this:</p>
  
  <pre><code>if (regexpcmp("l?nole*[0-9]", "linoleum1")) {
    //we have a match!
  } else {
     //no match 
  }
  </code></pre>