File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
src/main/java/fr/inria/corese/core/next/impl/common/util Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 11package fr .inria .corese .core .next .impl .common .util ;
22
3- import org .slf4j .Logger ;
4- import org .slf4j .LoggerFactory ;
5-
63import java .net .URI ;
74import java .net .URISyntaxException ;
85import java .util .Set ;
1714 */
1815public class IRIUtils {
1916
20- private static final Logger logger = LoggerFactory .getLogger (IRIUtils .class );
21-
2217 private static final Pattern IRI_PATTERN = Pattern .compile ("^(?<namespace>(?<protocol>[\\ w\\ -]+):(?<dblSlashes>\\ /\\ /)?(?<domain>([\\ w\\ -_:@]+\\ .)*[\\ w\\ -_:]*))((?<path>\\ /([\\ w\\ -\\ ._\\ :]+\\ /)*)(?<finalPath>[\\ w\\ -\\ ._\\ :]+)?(?<query>\\ ?[\\ w\\ -_\\ :\\ ?\\ =]+)?(?<anchor>(\\ #))?(?<fragment>([\\ w\\ -_]+))?)?$" );
2318 private static final Pattern STANDARD_IRI_PATTERN = Pattern .compile ("^(([^:/?#\\ s]+):)(\\ /\\ /([^/?#\\ s]*))?([^?#\\ s]*)(\\ ?([^#\\ s]*))?(#(.*))?" );
2419 private static final int MAX_IRI_LENGTH = 2048 ;
You can’t perform that action at this time.
0 commit comments