feat: Add in the features for the utils.networkInterface.get

This commit is contained in:
BluJ
2023-05-12 17:07:09 -06:00
parent 3df957898a
commit f73de12fc8
8 changed files with 482 additions and 35 deletions

View File

@@ -13,9 +13,12 @@ export const url =
export const local =
/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.local\b([-a-zA-Z0-9()!@:%_\+.~#?&\/\/=]*)/
export const localHost = /[-a-zA-Z0-9@:%._\+~#=]{1,256}\.local/
export const onion =
/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.onion\b([-a-zA-Z0-9()!@:%_\+.~#?&\/\/=]*)/
export const onionHost = /[-a-zA-Z0-9@:%._\+~#=]{1,256}\.onion/
// https://ihateregex.io/expr/ascii/
export const ascii = /^[ -~]*$/