(ch1, ch2, ignoreCase)
| 142573 | && everyInRange(0, patternSpan.length, function (i) { return equalChars(pattern.charCodeAt(patternSpan.start + i), candidate.charCodeAt(candidateSpan.start + i), ignoreCase); }); |
| 142574 | } |
| 142575 | function equalChars(ch1, ch2, ignoreCase) { |
| 142576 | return ignoreCase ? toLowerCase(ch1) === toLowerCase(ch2) : ch1 === ch2; |
| 142577 | } |
| 142578 | function tryCamelCaseMatch(candidate, candidateParts, chunk, ignoreCase) { |
| 142579 | var chunkCharacterSpans = chunk.characterSpans; |
| 142580 | // Note: we may have more pattern parts than candidate parts. This is because multiple |
no test coverage detected