Class org.as2lib.regexp.node.Start

Description

Start is used for REs that can start anywhere within the input string. This basically tries to match repeatedly at each spot in the input string, moving forward after each try. An anchored search or a BnM will bypass this node completely.

Method Index

new Start()
match(), study()

Inherited from Node

Inherited from BasicClass

Constructor Detail

Start

public function Start(node:Node)

Method Detail

match

public function match(matcher:Object, i:Number, seq:String):Boolean

Description copied from Node

This method implements the classic accept node.

Overrides

match() in org.as2lib.regexp.node.Node

study

public function study(info:TreeInfo):Boolean

Description copied from Node

This method is good for all zero length assertions.

Overrides

study() in org.as2lib.regexp.node.Node