Women in Technology

Hear us Roar



Article:
  Regular Expressions in C++ with Boost.Regex
Subject:   commented out line
Date:   2009-02-25 11:44:31
From:   derekstm
why is the line
// if (boost::regex_match(s.begin(), s.end(), re))


in the code but commented out?


I was trying to test out regex_match, and didn't notice that the line of code above was commented out. Trying to use those types of parameters didn't work, and was a source of confusion.