Fixes #9 was comparing a boost::smatch with NULL