We use cookies to make our website more effective. By using our website you agree to our privacy policy.

Namespace: searching

searching

Module for searching for strings of token in markup

Methods

backward(boundary, str){Boundary}

Find the given string backward of the given boundary.
Name Type Description
boundary Boundary
str string

forward(boundary, str){Boundary}

Find the given string forward of the given boundary.
Name Type Description
boundary Boundary
str string
Collects all preceeding text node along with the given in document order.
Name Type Description
node Boundary
regex RexExp
direction string "forward" or "backward"
comments powered by Disqus