TERM_STEP_REGEX_QUALIFIER_POS = ++posIndex;
matchResultPositions.ensureCapacity(posIndex + 1);
matchResultPositions.add(posIndex, null);
TERM_STEP_REGEX_MECHANISM_POS = ++posIndex;
matchResultPositions.ensureCapacity(posIndex + 1);
matchResultPositions.add(TERM_STEP_REGEX_MECHANISM_POS, null);
i = termsFactory.getMechanismsCollection().iterator();
while (i.hasNext()) {
TermDefinition td = (TermDefinition) i.next();
int size = td.getMatchSize() + 1;