public static IsRedirectOrSoftRedirect ( string articletext ) : bool | ||
articletext | string | The article text |
return | bool |
public static bool IsRedirectOrSoftRedirect(string articletext)
{
return (RedirectTarget(articletext).Length > 0 || SoftRedirect.IsMatch(articletext));
}