- Fix an issue where embedded SRT files were not getting detected correctly during scan. Regex was incorrect to pickup "UTF-8"
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3630
b64f7644-9d1e-0410-96f1-
a4d463321fa5
string curLine = output.ReadLine();\r
\r
// + 1, English (iso639-2: eng) (Text)(SSA)\r
- Match m = Regex.Match(curLine, @"^ \+ ([0-9]*), ([A-Za-z, ]*) \((.*)\) \(([a-zA-Z]*)\)\(([a-zA-Z]*)\)");\r
+ // + 1, English (iso639-2: eng) (Text)(UTF-8)\r
+ Match m = Regex.Match(curLine, @"^ \+ ([0-9]*), ([A-Za-z, ]*) \((.*)\) \(([a-zA-Z]*)\)\(([a-zA-Z0-9\-]*)\)");\r
\r
if (m.Success && !curLine.Contains("HandBrake has exited."))\r
{\r