mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Merge pull request #9 from DSRCorporation/bugfix/whitespace-regex
Bugfix/whitespace-regex
This commit is contained in:
commit
a8444f7c0e
@ -12,7 +12,7 @@ namespace Nikse.SubtitleEdit.Core.NetflixQualityCheck
|
||||
{
|
||||
foreach (Paragraph p in subtitle.Paragraphs)
|
||||
{
|
||||
foreach (Match m in Regex.Matches(p.Text, "(\\s|\n|\r\n){2,}"))
|
||||
foreach (Match m in Regex.Matches(p.Text, "( |\n|\r\n){2,}"))
|
||||
{
|
||||
string timecode = p.StartTime.ToHHMMSSFF();
|
||||
string context = NetflixQualityReportBuilder.StringContext(p.Text, m.Index, 6);
|
||||
|
Loading…
Reference in New Issue
Block a user