12211222122312241225122612271228122912301231
returned = true; } else { opStack.push(op); dataStack.push(0); dataStack.push(offset); op = op.elementAt(0); } break; case Op.CAPTURE:
12311232123312341235123612371238123912401241
case Op.CAPTURE: { final int refno = op.getData(); if (con.match != null) { if (refno > 0) { dataStack.push(con.match.getBeginning(refno)); con.match.setBeginning(refno, offset); } else { final int index = -refno; dataStack.push(con.match.getEnd(index));
12361237123812391240124112421243124412451246
dataStack.push(con.match.getBeginning(refno)); con.match.setBeginning(refno, offset); } else { final int index = -refno; dataStack.push(con.match.getEnd(index)); con.match.setEnd(index, offset); } opStack.push(op); dataStack.push(offset); }
12401241124212431244124512461247124812491250
final int index = -refno; dataStack.push(con.match.getEnd(index)); con.match.setEnd(index, offset); } opStack.push(op); dataStack.push(offset); } op = op.next; } break;
12521253125412551256125712581259126012611262
case Op.NEGATIVELOOKAHEAD: case Op.LOOKBEHIND: case Op.NEGATIVELOOKBEHIND: { opStack.push(op); dataStack.push(dx); dataStack.push(offset); dx = (op.type == Op.LOOKAHEAD || op.type == Op.NEGATIVELOOKAHEAD) ? 1 : -1; op = op.getChild(); } break;
12531254125512561257125812591260126112621263
case Op.LOOKBEHIND: case Op.NEGATIVELOOKBEHIND: { opStack.push(op); dataStack.push(dx); dataStack.push(offset); dx = (op.type == Op.LOOKAHEAD || op.type == Op.NEGATIVELOOKAHEAD) ? 1 : -1; op = op.getChild(); } break;
12621263126412651266126712681269127012711272
break; case Op.INDEPENDENT: { opStack.push(op); dataStack.push(offset); op = op.getChild(); } break; case Op.MODIFIER:
12731274127512761277127812791280128112821283
{ int localopts = opts; localopts |= op.getData(); localopts &= ~op.getData2(); opStack.push(op); dataStack.push(opts); dataStack.push(offset); opts = localopts; op = op.getChild(); } break;
12741275127612771278127912801281128212831284
int localopts = opts; localopts |= op.getData(); localopts &= ~op.getData2(); opStack.push(op); dataStack.push(opts); dataStack.push(offset); opts = localopts; op = op.getChild(); } break;
13001301130213031304130513061307130813091310
op = cop.next; } } else { opStack.push(op); dataStack.push(offset); op = cop.condition; } } break;