4 ms·
Quick FYI. It's difficult to filter URIs with regex because they are context free grammars and belong to a larger language than regular expressions. Recursive
by konceptz 10y ago
Quick FYI. It's difficult to filter URIs with regex because they are context free grammars and belong to a larger language than regular expressions.
Recursive descent parsers are the way to go like uri objects in most languages.
Ex. URL url = URL.fromString(inputString); url.getScheme;