Fix Find/Replace with whole word for Arabic - thx OmrSi :)

Fix  #2595
This commit is contained in:
Nikolaj Olsson 2017-10-05 22:40:09 +02:00
parent ee3a46b61d
commit 285df2d104

View File

@ -8,8 +8,8 @@ namespace Nikse.SubtitleEdit.Logic
{
public class FindReplaceDialogHelper
{
private const string StartChars = " >-\"„”“[]'`´¶(){}♪¿¡.…—\r\n\u2028";
private const string EndChars = " <-\"”“]'`´¶(){}♪,.!?:;…—\r\n\u2028";
private const string StartChars = " >-\"„”“[]'`´¶(){}♪¿¡.…—،؟\r\n\u2028";
private const string EndChars = " <-\"”“]'`´¶(){}♪,.!?:;…—،؟\r\n\u2028";
private readonly string _findText = string.Empty;
private readonly string _replaceText = string.Empty;
private Regex _regEx;