Console ↗

span()

Extract zero or more passages from the text values in state. Each match identifies its original source and Unicode code-point offsets.

Signature

span(instructions)

Example

import {span} from "./ngila.mjs";
const value = span("Find all personal names in the meeting notes.");