Function
trailingMatcher
(
patterns: string[],
delimiters: string[] = []
)
Source from the content-addressed store, hash-verified
| 124 | * @returns A node matcher |
| 125 | */ |
| 126 | export function trailingMatcher( |
| 127 | patterns: string[], |
| 128 | delimiters: string[] = [] |
| 129 | ): NodeMatcher { |
| 130 | return matcher( |
| 131 | patternFinder(...patterns), |
| 132 | selectWithTrailingDelimiter(...delimiters) |
| 133 | ); |
| 134 | } |
| 135 | |
| 136 | /** |
| 137 | * Create a new matcher that will try the given matchers in sequence until one |
Tested by
no test coverage detected