This is a bit confusing. Could be just `else` if you move the above `(!escaped || escapedEnd < startIndex || escapedStart > endIndex + endSymbolLength)` into a nested condition.