Const
Regex source for matching a UUID (8-4-4-4-12 hex format, no anchors).
Use the i flag for case-insensitive matching.
i
Does not validate UUID version or variant bits.
const pattern = new RegExp(`id:\\s*(${REGEX_SRC_UUID})`, 'i'); Copy
const pattern = new RegExp(`id:\\s*(${REGEX_SRC_UUID})`, 'i');
Regex source for matching a UUID (8-4-4-4-12 hex format, no anchors).
Use the
iflag for case-insensitive matching.