android-components / / WebURLFinder


class WebURLFinder (source)

Regular expressions used in this class are taken from Android’s We brought them in to standardize URL matching across Android versions, instead of relying on Android version-dependent built-ins that can vary across Android versions. The original code can be found here:


Name Summary
<init> WebURLFinder(string: String?)


Name Summary
bestWebURL fun bestWebURL(): String?
Return best Web URL.

Companion Object Functions

Name Summary
isWebURL fun isWebURL(string: String): Boolean
Check if string is a Web URL.