(str: string)
| 603 | const QUERY_PARAM_VALUE_RE = /^[^&#]+/; |
| 604 | // Return the value of the query param at the start of the string or an empty string |
| 605 | function matchUrlQueryParamValue(str: string): string { |
| 606 | const match = str.match(QUERY_PARAM_VALUE_RE); |
| 607 | return match ? match[0] : ''; |
| 608 | } |
| 609 | |
| 610 | class UrlParser { |
| 611 | private remaining: string; |
no test coverage detected
searching dependent graphs…