Class: NdnRegexComponentSetMatcher

NdnRegexComponentSetMatcher(expr, backrefManager)

new NdnRegexComponentSetMatcher(expr, backrefManager)

Create an NdnRegexComponentSetMatcher matcher from expr.
Parameters:
Name Type Description
expr string The standard regular expression to match a component.
backrefManager NdnRegexBackrefManager The back-reference manager.
Source:

Methods

compile_()

Compile the regular expression to generate more matchers when necessary.
Source:

compileMultipleComponents_(start, lastIndex)

Parameters:
Name Type Description
start number
lastIndex number
Source:

extractComponent_(index) → {number}

Parameters:
Name Type Description
index number
Source:
Returns:
Type
number

match(name, offset, len) → {boolean}

Parameters:
Name Type Description
name Name
offset number
len number
Source:
Returns:
Type
boolean