> C++ escaped characters problem?

C++ escaped characters problem?

Posted at: 2014-12-18 
Hey guys, need some help with programming review. Need some help with escaped characters.

Given the following code segment, which can identify any work with one character only?

String^ pattern = "\\d";

String^ str = "That is a clock";



A. MessageBox::Show(IsMatch(str, pattern));



B. MessageBox::Show(IsMatch(str, pattern) + "");



C. MessageBox::Show(Regex::IsMatch(str, pattern) + "");



D. MessageBox::Show(Regex::IsMatch(str, pattern));