dsmiley commented on a change in pull request #1877: URL: https://github.com/apache/lucene-solr/pull/1877#discussion_r490438268
########## File path: solr/core/src/java/org/apache/solr/request/macro/MacroExpander.java ########## @@ -154,14 +155,14 @@ else if (idx < 0) { } if (matchedStart > 0) { - sb.append(val.substring(start, matchedStart)); + sb.append(val, start, matchedStart); } // update "start" to be at the end of ${...} - start = rbrace + 1; + idx = start = rbrace + 1; - // String inbetween = val.substring(idx, rbrace); - StrParser parser = new StrParser(val, idx, rbrace); + // String in-between = val.substring(idx, rbrace); Review comment: ```suggestion // String in-between braces ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org