@wdprlib/parser
    Preparing search index...

    Function findInvalidAnchorNameEnd

    • Check if [[# is followed by an invalid anchor name that closes with ]].

      Valid anchor names match [-_A-Za-z0-9.%]+; invalid names are decomposed so the parser can handle the inner [# text] as a described anchor link.

      Parameters

      • src: string
      • pos: number

      Returns number | null