search

fun search(needle: String, ignoreCase: Boolean = true): Sequence<KiteSearchHit>

Find needle across the book, lazily page by page (a UI can show incremental results). Same matching rules as KiteStructuredText.search: case-insensitive by default, line breaks read as one space, a hyphenated line break joins directly, matches never cross blocks.