p.underline = false;
} else if (boost::starts_with (tag, "font")) {
maybe_content (p);
- boost::regex re (".*color=\"#([[:xdigit:]]+)\"");
+ boost::regex re (".*color=\"?#([[:xdigit:]]+)\"?");
boost::smatch match;
if (boost::regex_search (tag, match, re) && string (match[1]).size() == 6) {
p.colour = Colour::from_rgb_hex (match[1]);
test ("Fight.Club.1999.720p.BRRip.x264-x0r.srt");
test ("EU13.srt");
test ("Subtitulos_HURTO_eng.srt");
+ test ("SWING_PARA_SORDOS_CASTELLANO_24.srt");
test_throw ("subtitulo1.srt");
}