From 2b33e5909ba077b0a18bdb0e1c4dff4de29dc5c9 Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Sat, 29 Oct 2016 07:18:37 +0000 Subject: [PATCH] comment fix git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/social-networking/social-util-library@133746 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../org/gcube/social_networking/socialutillibrary/Utils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/social_networking/socialutillibrary/Utils.java b/src/main/java/org/gcube/social_networking/socialutillibrary/Utils.java index fb0a05c..91b3a11 100644 --- a/src/main/java/org/gcube/social_networking/socialutillibrary/Utils.java +++ b/src/main/java/org/gcube/social_networking/socialutillibrary/Utils.java @@ -56,7 +56,7 @@ public class Utils { "([-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)*)*" + "(#([-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)?\\b"); - // old was but it doesn't work for urls like https://next.d4science.org/group/nextnext/data-catalogue?path=/dataset/test_for_visibility + // the old was didn't work for urls like https://next.d4science.org/group/nextnext/data-catalogue?path=/dataset/test_for_visibility // since it removed the string after "path" // private static final Pattern URL_PATTERN = Pattern.compile( // "\\b(((ht|f)tp(s?)\\:\\/\\/|~\\/|\\/)|www.)" +