[OCR] - Fix from prev PR.

This commit is contained in:
Ivandro Ismael 2016-06-18 14:30:25 +00:00
parent 9d01dfb4d8
commit b14d00bc6e
No known key found for this signature in database
GPG Key ID: A8832757DEFB7EDC

View File

@ -289,7 +289,8 @@ namespace Nikse.SubtitleEdit.Core.Dictionaries
word = word.Replace('`', '\'');
word = word.Replace('', '\'');
word = word.Replace('—', '-');
word = word.Replace("--", "-");
while(word.Contains("--"))
word = word.Replace("--", "-");
word = word.Replace('|', 'l');
word = word.Replace("vx/", "w");
if (Regex.IsMatch(word, "[A-ZÆØÅÄÖÉÈÀÙÂÊÎÔÛËÏa-zæøåäöéèàùâêîôûëï]¤"))