mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
[OCR] - Fix from prev PR.
This commit is contained in:
parent
9d01dfb4d8
commit
b14d00bc6e
@ -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æøåäöéèàùâêîôûëï]¤"))
|
||||
|
Loading…
Reference in New Issue
Block a user