public ILinkedStatement Link(string statement) { var match = Regex.Match(statement, @"Timestamp before (\d*) year ago"); if (!match.Success) return null; return new Linked(this, int.Parse(match.Groups[1].Value)); }