@wdprlib/parser
    Preparing search index...

    Variable URL_PATTERNConst

    URL_PATTERN: RegExp = ...

    URL body pattern, ported from Text_Wiki's Url rule regex: scheme + zero or more slash-terminated segments + final segment + one terminating character from [A-Za-z%0-9/?=&~_].

    Scheme matching is case-sensitive (lowercase only) on purpose: Text_Wiki's inline URL regex has no i flag and lists lowercase schemes, so Wikidot does not auto-link HTTP://…. Shared by the autolink rule and the lexer's bold marker split.