Microsoft Deployment Toolkit
Documentation Library BOOL MatchesRegex(LPCTSTR input, LPCTSTR regex)
This
method runs the regular expression against the input text. It uses
the C++ standard library’s regex_match
function to do the actual work. The method returns TRUE if there
were matches, FALSE otherwise.