Module: RegularExpression::Bytecode::Insns

Defined in:
lib/regular_expression/bytecode.rb

Defined Under Namespace

Classes: GuardBegin, GuardEnd, Jump, JumpAny, JumpRange, JumpRangeInvert, JumpValue, JumpValuesInvert

Constant Summary collapse

PushIndex =

Push the current string index onto the stack. This is necessary to support backtracking so that we can pop it off later when we want to go backward.

Class.new
PopIndex =

Pop the string index off the stack. This is necessary so that we can support backtracking.

Class.new
Match =

Successfully match the string and stop executing instructions.

Class.new
Fail =

Fail to match the string at the current index. Increment the starting index and try again if possible.

Class.new