<RegexGenerator_g>FA8DDE5DB7FF8EDB195BD24AAA0095B065B0EB9EE1881EBD7CEE7465227EE9670__GetTimestampRegex_9
sealed class <RegexGenerator_g>FA8DDE5DB7FF8EDB195BD24AAA0095B065B0EB9EE1881EBD7CEE7465227EE9670__GetTimestampRegex_9 : Regex
using System.CodeDom.Compiler;
using System.Collections;
using System.Runtime.CompilerServices;
namespace System.Text.RegularExpressions.Generated
{
[GeneratedCode("System.Text.RegularExpressions.Generator", "7.0.10.26716")]
internal sealed class <RegexGenerator_g>FA8DDE5DB7FF8EDB195BD24AAA0095B065B0EB9EE1881EBD7CEE7465227EE9670__GetTimestampRegex_9 : Regex
{
private sealed class RunnerFactory : RegexRunnerFactory
{
private sealed class Runner : RegexRunner
{
protected override void Scan(ReadOnlySpan<char> inputSpan)
{
while (TryFindNextPossibleStartingPosition(inputSpan) && !TryMatchAtCurrentPosition(inputSpan) && runtextpos != inputSpan.Length) {
runtextpos++;
if (<RegexGenerator_g>FA8DDE5DB7FF8EDB195BD24AAA0095B065B0EB9EE1881EBD7CEE7465227EE9670__Utilities.s_hasTimeout)
CheckTimeout();
}
}
private bool TryFindNextPossibleStartingPosition(ReadOnlySpan<char> inputSpan)
{
int runtextpos = base.runtextpos;
if (runtextpos <= inputSpan.Length - 8) {
ReadOnlySpan<char> readOnlySpan = inputSpan.Slice(runtextpos);
int num;
for (num = 0; num < readOnlySpan.Length - 7; num++) {
int num2 = readOnlySpan.Slice(num).IndexOf('T');
if (num2 < 0)
break;
num += num2;
if ((uint)(num + 1) >= (uint)readOnlySpan.Length)
break;
if (char.IsDigit(readOnlySpan[num + 1])) {
base.runtextpos = runtextpos + num;
return true;
}
}
}
base.runtextpos = inputSpan.Length;
return false;
}
private bool TryMatchAtCurrentPosition(ReadOnlySpan<char> inputSpan)
{
int runtextpos = base.runtextpos;
int start = runtextpos;
int num = 0;
int num2 = 0;
ReadOnlySpan<char> span = inputSpan.Slice(runtextpos);
if (span.IsEmpty || span[0] != 'T') {
<TryMatchAtCurrentPosition>g__UncaptureUntil|2_0(0);
return false;
}
runtextpos++;
span = inputSpan.Slice(runtextpos);
num = runtextpos;
int i;
for (i = 0; (uint)i < (uint)span.Length && char.IsDigit(span[i]); i++) {
}
if (i == 0) {
<TryMatchAtCurrentPosition>g__UncaptureUntil|2_0(0);
return false;
}
span = span.Slice(i);
runtextpos += i;
Capture(1, num, runtextpos);
if (!span.StartsWith(" 0 ")) {
<TryMatchAtCurrentPosition>g__UncaptureUntil|2_0(0);
return false;
}
runtextpos += 3;
span = inputSpan.Slice(runtextpos);
num2 = runtextpos;
int j;
for (j = 0; (uint)j < (uint)span.Length && char.IsDigit(span[j]); j++) {
}
if (j == 0) {
<TryMatchAtCurrentPosition>g__UncaptureUntil|2_0(0);
return false;
}
span = span.Slice(j);
runtextpos += j;
Capture(2, num2, runtextpos);
if (!span.StartsWith(" 0")) {
<TryMatchAtCurrentPosition>g__UncaptureUntil|2_0(0);
return false;
}
Capture(0, start, base.runtextpos = runtextpos + 2);
return true;
}
}
[System.Runtime.CompilerServices.NullableContext(1)]
protected override RegexRunner CreateInstance()
{
return new Runner();
}
}
[System.Runtime.CompilerServices.Nullable(1)]
internal static readonly <RegexGenerator_g>FA8DDE5DB7FF8EDB195BD24AAA0095B065B0EB9EE1881EBD7CEE7465227EE9670__GetTimestampRegex_9 Instance = new <RegexGenerator_g>FA8DDE5DB7FF8EDB195BD24AAA0095B065B0EB9EE1881EBD7CEE7465227EE9670__GetTimestampRegex_9();
private <RegexGenerator_g>FA8DDE5DB7FF8EDB195BD24AAA0095B065B0EB9EE1881EBD7CEE7465227EE9670__GetTimestampRegex_9()
{
pattern = "T(?<mtime>\\d+) 0 (?<atime>\\d+) 0";
roptions = RegexOptions.None;
Regex.ValidateMatchTimeout(<RegexGenerator_g>FA8DDE5DB7FF8EDB195BD24AAA0095B065B0EB9EE1881EBD7CEE7465227EE9670__Utilities.s_defaultTimeout);
internalMatchTimeout = <RegexGenerator_g>FA8DDE5DB7FF8EDB195BD24AAA0095B065B0EB9EE1881EBD7CEE7465227EE9670__Utilities.s_defaultTimeout;
factory = new RunnerFactory();
base.CapNames = new Hashtable {
{
"0",
0
},
{
"atime",
2
},
{
"mtime",
1
}
};
capslist = new string[3] {
"0",
"mtime",
"atime"
};
capsize = 3;
}
}
}