2019-12-22 21:24:11 +00:00
|
|
|
|
using System.Text.RegularExpressions;
|
2019-06-14 03:54:25 +00:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Common.Extensions
|
|
|
|
|
{
|
|
|
|
|
public static class RegexExtensions
|
|
|
|
|
{
|
|
|
|
|
public static int EndIndex(this Capture regexMatch)
|
|
|
|
|
{
|
|
|
|
|
return regexMatch.Index + regexMatch.Length;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|