Assigned
Status Update
Comments
ar...@google.com <ar...@google.com>
ar...@google.com <ar...@google.com> #2
Thank you for reporting this issue. We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
Description
String url = "
Patterns.WEB_URL.matcher(url).matches();
although this URL is perfectly correct. I wrote a regular expression that takes square brackets into the URL and it works correctly:
String myregexp = "^(https?|udp)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;\\[\\]]*[-a-zA-Z0-9+&@#/%=~_|\\[\\]]";
But I would like to use Patterns.WEB_URL and I hope that this defect can be fixed.