|
|
@ -264,10 +264,11 @@ public abstract class ValueNode { |
|
|
|
if((compiledPattern.flags() & Pattern.CASE_INSENSITIVE) == Pattern.CASE_INSENSITIVE){ |
|
|
|
if((compiledPattern.flags() & Pattern.CASE_INSENSITIVE) == Pattern.CASE_INSENSITIVE){ |
|
|
|
flags = "i"; |
|
|
|
flags = "i"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(!pattern.startsWith("/")){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return "/" + pattern + "/" + flags; |
|
|
|
return "/" + pattern + "/" + flags; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
return pattern; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|