(p)
| 1819 | return this.regexp; |
| 1820 | } |
| 1821 | slashSplit(p) { |
| 1822 | if (this.preserveMultipleSlashes) { |
| 1823 | return p.split("/"); |
| 1824 | } else if (this.isWindows && /^\/\/[^/]+/.test(p)) { |
| 1825 | return ["", ...p.split(/\/+/)]; |
| 1826 | } else { |
| 1827 | return p.split(/\/+/); |
| 1828 | } |
| 1829 | } |
| 1830 | match(f, partial = this.partial) { |
| 1831 | this.debug("match", f, this.pattern); |
| 1832 | if (this.comment) { |
no test coverage detected