LPS-35728 Developers should be able to verify validity of an URI using l...

Hi Brian,
please review changes made to isUrl validation and matching test class.

Thank you!

@shuyangzhou