0

I try to do:

boost::tregex prot_mask(_T("[0-9][0-9]?"));

But it failed:

Error:expected a type specifier.

It's something to do with _T.
What did I do wrong?

Alan Moore
  • 73,866
  • 12
  • 100
  • 156
  • Does this answer solve your problem? http://stackoverflow.com/a/5250562/2145800 – AbsoluteƵERØ Nov 10 '14 at 23:30
  • @любовь, please check my edits and make sure I didn't change the meaning of your question. Also, questions related to regexes should always be tagged [tag:regex] in addition to the more specific tags like [boost-regex]. That will get you more, higher quality answers. – Alan Moore Nov 10 '14 at 23:52

0 Answers0