mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
comment.
This commit is contained in:
parent
1b3b54f4f9
commit
db4919d26e
@ -50,13 +50,16 @@ namespace GameRes.Formats.Cyberworks
|
||||
|
||||
internal abstract class ArchiveNameParser
|
||||
{
|
||||
protected Regex m_regex;
|
||||
readonly Regex m_regex;
|
||||
|
||||
protected ArchiveNameParser (string pattern)
|
||||
{
|
||||
m_regex = new Regex (pattern, RegexOptions.IgnoreCase);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns toc filename and archive index corresponding to <paramref name="arc_name"/>.
|
||||
/// </summary>
|
||||
public Tuple<string, int> ParseName (string arc_name)
|
||||
{
|
||||
var match = m_regex.Match (arc_name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user