(str: string)
| 596 | const QUERY_PARAM_RE = /^[^=?&#]+/; |
| 597 | // Return the name of the query param at the start of the string or an empty string |
| 598 | function matchQueryParams(str: string): string { |
| 599 | const match = str.match(QUERY_PARAM_RE); |
| 600 | return match ? match[0] : ''; |
| 601 | } |
| 602 | |
| 603 | const QUERY_PARAM_VALUE_RE = /^[^&#]+/; |
| 604 | // Return the value of the query param at the start of the string or an empty string |
no test coverage detected
searching dependent graphs…