title: C++ Expected a type specifier (regex)
body: <pre><code>#include &lt;stdio.h&gt;
  #include &lt;iostream&gt;
  #include &lt;fstream&gt;
  #include &lt;string&gt;
  #include &lt;vector&gt;
  #include &lt;algorithm&gt;
  #include &lt;regex&gt;
  
  using namespace std;
  
  class Parser {
  protected:
      // regex: containers
      static const regex rxProc("procedure\s+([\w]+)\s*{");
  }
  </code></pre>
  
  <p>I am getting an error for the <code>"procedure\s+([\w]+)\s*{"</code> part. Expected a type specifier. I must be doing something wrong? </p>