@jiminp/tooltool
    Preparing search index...

    Variable REGEX_SRC_UUIDConst

    REGEX_SRC_UUID: "[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}" = ...

    Regular expression source string for matching a UUID.

    This is a partial pattern (without anchors or flags) designed to be composed into larger regular expressions. The pattern matches the standard 8-4-4-4-12 hexadecimal UUID format.

    • Uses uppercase [0-9A-F] character class; combine with the i flag for case-insensitive matching
    • Does not validate UUID version or variant bits
    • Does not include ^ or $ anchors
    // Match UUID within a larger string
    const pattern = new RegExp(`id:\\s*(${REGEX_SRC_UUID})`, 'i');
    const match = 'id: 550e8400-e29b-41d4-a716-446655440000'.match(pattern);