doesSupportPath

fun doesSupportPath(destinationUrl: URL, supportedRegexPath: String): Boolean

Checks if a URL path matches a supported regex pattern.

Return

True if the URL path matches the pattern, false otherwise.

Parameters

destinationUrl

The URL to check.

supportedRegexPath

The regex pattern for supported paths.


fun doesSupportPath(urlPath: String, supportedRegexPath: String): Boolean

Checks if a URL path matches a supported regex pattern.

Return

True if the path matches the pattern, false otherwise.

Parameters

urlPath

The URL path to check.

supportedRegexPath

The regex pattern for supported paths.