@maschinenlesbar.org/lobbyregister-cli
    Preparing search index...

    Function normalizeText

    • The free-text query as the register matches it: without surrounding whitespace (a value pasted with a trailing space is not the text typed) and in composed Unicode, NFC (a decomposed "Müller", u plus U+0308 as pasted from a macOS file name, is another string than the register's "Müller"). Inner whitespace is kept. Only for text the API matches; check it with textProblem first. Codes (sort, filter values) are tokens (normalizeToken).

      Parameters

      • value: string

      Returns string