Radarr/src/NzbDrone.Common/Extensions/RegexExtensions.cs

13 lines
272 B
C#

using System.Text.RegularExpressions;
namespace NzbDrone.Common.Extensions
{
public static class RegexExtensions
{
public static int EndIndex(this Capture regexMatch)
{
return regexMatch.Index + regexMatch.Length;
}
}
}