mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-16 00:15:47 +01:00
change regex names
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
export const AlphaNumeric = /^[a-zA-Z0-9]+$/;
|
||||
export const SHA256 = /^[a-f0-9A-F]{64}$/;
|
||||
export const SemVer = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/;
|
||||
export const AlphaNumericRegex = /^[a-zA-Z0-9]+$/;
|
||||
export const SHA256Regex = /^[a-f0-9A-F]{64}$/;
|
||||
export const SemVerRegex = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/;
|
||||
export const URLRegex =
|
||||
/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)/;
|
||||
export const UUIDRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
||||
|
||||
Reference in New Issue
Block a user