Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 7x 1x | /**
* A RegExp that matches UUIDs
*
* @example
* Match UUID String
* ```ts
* const result = uuidRegExp.test("ffffffff-ffff-1fff-bfff-ffffffffffff");
* console.log(result); // true
* ```
*
* @see https://stackoverflow.com/a/13653180
*/
export const uuidRegExp =
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|