public SeparatedValueRecordParser(RetryReader reader, SeparatedValueOptions options)
{
this.reader = reader;
this.options = options.Clone();
this.separatorMatcher = getMatcher(options.Separator);
this.recordSeparatorMatcher = getMatcher(options.RecordSeparator);
if (options.RecordSeparator.StartsWith(options.Separator))
{
string postfix = options.RecordSeparator.Substring(options.Separator.Length);
this.postfixMatcher = getMatcher(postfix);
}
this.token = new StringBuilder();
}