Fix Reverse RTL issue - thx OmrSi :)

Fix #2670
This commit is contained in:
Nikolaj Olsson 2017-12-14 20:16:33 +01:00
parent e2d91c6e56
commit deed5cd5d1

View File

@ -1155,7 +1155,7 @@ namespace Nikse.SubtitleEdit.Core
}
private static readonly Regex TwoOrMoreDigitsNumber = new Regex(@"\d\d+", RegexOptions.Compiled);
private const string PrePostStringsToReverse = @"-— !?.""،,():;[]+~";
private const string PrePostStringsToReverse = @"-— !?.""،,():;[]+~*/<>&^%$#\\|";
public static string ReverseStartAndEndingForRightToLeft(string s)
{