highlights

abstract fun highlights(name: String, query: String): List<Pair<Int, Int>>

Return

list of intervals [start, end) for the string name that was matched by search query.