EU Parliament Monitor โ€” API Documentation - v0.9.24
    Preparing search index...
    • Word-boundary match against an editorial-lede whitelist entry. Matches when the normalised heading equals the whitelist entry exactly, or when the entry is followed by any non-alphanumeric character โ€” covering localized parenthetical glosses written with ASCII or full-width punctuation (e.g. bluf (bottom line up front), bluf๏ผˆ็ต่ซ–ๅ…ˆๅ‡บใ—๏ผ‰, bluf โ€” ํ•ต์‹ฌ ๊ฒฐ๋ก , 60-second read โ€” what happened).

      Parameters

      • headingText: string

        Normalised heading text (lower-case, decoration-stripped)

      • whitelistEntry: string

        Lower-case whitelist entry from EDITORIAL_LEDE_HEADINGS

      Returns boolean

      true when headingText begins with whitelistEntry at a word boundary