|
|
|
@ -576,6 +576,10 @@ public class PathCompiler {
|
|
|
|
|
break; |
|
|
|
|
} else if (c == potentialStringDelimiter) { |
|
|
|
|
if (inProperty && !inEscape) { |
|
|
|
|
char nextSignificantChar = path.nextSignificantChar(readPosition); |
|
|
|
|
if (nextSignificantChar != CLOSE_SQUARE_BRACKET && nextSignificantChar != COMMA) { |
|
|
|
|
fail("Property must be separated by comma or Property must be terminated close square bracket at index "+readPosition); |
|
|
|
|
} |
|
|
|
|
endPosition = readPosition; |
|
|
|
|
String prop = path.subSequence(startPosition, endPosition).toString(); |
|
|
|
|
properties.add(Utils.unescape(prop)); |
|
|
|
|