mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Implement ClrMameProReader
This commit is contained in:
@@ -566,6 +566,9 @@ namespace SabreTools.Library.Data
|
||||
|
||||
public const string XmlPattern = @"<(.*?)>(.*?)</(.*?)>";
|
||||
public const string HeaderPatternCMP = @"(^.*?) \($";
|
||||
public const string InternalPatternCMP = @"(^.*?) (\(.+\))$";
|
||||
public const string InternalPatternAttributesCMP = @"[^\s""]+|""[^""]*""";
|
||||
//public const string InternalPatternAttributesCMP = @"([^\s]*""[^""]+""[^\s]*)|[^""]?\w+[^""]?";
|
||||
public const string ItemPatternCMP = @"^\s*(\S*?) (.*)";
|
||||
public const string EndPatternCMP = @"^\s*\)\s*$";
|
||||
|
||||
|
||||
@@ -440,6 +440,18 @@
|
||||
|
||||
#region Reader related
|
||||
|
||||
/// <summary>
|
||||
/// Different types of CMP rows being parsed
|
||||
/// </summary>
|
||||
public enum CmpRowType
|
||||
{
|
||||
None,
|
||||
TopLevel,
|
||||
Standalone,
|
||||
Internal,
|
||||
Comment,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Different types of INI rows being parsed
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user