RegexWorker.ProcessRegex(String, String) Method

Definition

Used internally at run time to determine whether the specified request-header value matches any of the capabilities of an internal collection of browsers.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public bool ProcessRegex (string target, string regexExpression);

Parameters

target
String

The capabilities value from an internal collection of browsers.

regexExpression
String

The specified request-header value.

Returns

true if the specified request-header value matches any of the capabilities of an internal collection of browsers; otherwise, false. The default is false.

Applies to

Produkt Versioner
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1