Not all CMP DATs use the same whitespace

This commit is contained in:
Matt Nadareski
2016-05-03 00:51:11 -07:00
parent 81cd317ea5
commit f1bd23847e

View File

@@ -13,7 +13,7 @@ namespace SabreTools.Helper
{ {
// Regex matching patterns // Regex matching patterns
private static string _headerPattern = @"(^.*?) \($"; private static string _headerPattern = @"(^.*?) \($";
private static string _itemPattern = @"^\s+(\S*?) (.*)"; private static string _itemPattern = @"^\s*(\S*?) (.*)";
private static string _endPattern = @"^\s*\)\s*$"; private static string _endPattern = @"^\s*\)\s*$";
/// <summary> /// <summary>