(str: string)
| 663 | |
| 664 | const SEGMENT_RE = /^[^\/()?;#]+/; |
| 665 | function matchSegments(str: string): string { |
| 666 | const match = str.match(SEGMENT_RE); |
| 667 | return match ? match[0] : ''; |
| 668 | } |
| 669 | |
| 670 | const MATRIX_PARAM_SEGMENT_RE = /^[^\/()?;=#]+/; |
| 671 | function matchMatrixKeySegments(str: string): string { |
no test coverage detected