title: C++ special characters in a regular expression
body: <p>I have to parse a regular expression which can contain special symbols such as \s and <em>\d</em>. The problem is, I can't distinguish the <em>\</em> when i am parsing the expression, I mean <em>'\s' == 's'</em>, therefore I cannot distinguish between special character and basic character. How can I solve this?</p>