INNER CODE UNIT · JavaScript

emailRegex

alohe/quicky · index.js:403

					const emailRegex = /\S+@\S+\.\S+/;
					return emailRegex.test(input)
						? true
						: "Please enter a valid email.";
				},
			},
		]);

		withConfig((c) => {
			c.email = email;
		});
		currentConfig = readConfig();
	}

	try {
		execSync("which certbot", { stdio: "ignore" });
	} catch {
		execSync("sudo apt install certbot python3-certbot-nginx -y", {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…