-
-
Save zdi-team/90784c3759878934289753b199dc37fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// found variable end marker | |
if (nestedVarCount == 0) { | |
String varNameExpr = new String(chars, startPos + startMatchLen, pos - startPos - startMatchLen); | |
if (substitutionInVariablesEnabled) { | |
// initialize priorVariables if they're not already set | |
if (priorVariables == null) { | |
priorVariables = new ArrayList<>(); | |
} | |
final StringBuilder bufName = new StringBuilder(varNameExpr); | |
substitute(event, bufName, 0, bufName.length(), priorVariables); | |
varNameExpr = bufName.toString(); | |
} | |
pos += endMatchLen; | |
final int endPos = pos; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment