change regex::match. with hopes it compiles on travis