Crypto Server
    Preparing search index...

    Function isEmailShaped

    • True for local@domain with no whitespace, exactly one @, a non-empty local part and a dot inside the domain (not first or last). The same strings as /^[^\s@]+@[^\s@]+.[^\s@]+$/, checked in linear time: that regex backtracks polynomially on input such as "a@" + "!.".repeat(n).

      Parameters

      • value: string

      Returns boolean