new NdnRegexPatternListMatcher(expr, backrefManager)
Create an NdnRegexPatternListMatcher.
Parameters:
Name | Type | Description |
---|---|---|
expr |
string | |
backrefManager |
NdnRegexBackrefManager | The back-reference manager. |
Methods
extractPattern_(index, Update) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
index |
number | |
Update |
Array.<number> | next[0]. |
Returns:
- Type
- boolean
extractRepetition_(index) → {number}
Parameters:
Name | Type | Description |
---|---|---|
index |
number |
Returns:
- Type
- number
extractSubPattern_(left, right, index) → {number}
Parameters:
Name | Type | Description |
---|---|---|
left |
string | |
right |
string | |
index |
number |
Returns:
- Type
- number