Strings do too many things - eviltoast
    • Jesus_666@feddit.de
      link
      fedilink
      arrow-up
      10
      ·
      9 months ago

      Which ones? In RFC 5322 every address contains an addr-spec at some point, which in turn must include an @. RFC 6854 does not seem to change this. Or did I misread something?

        • Jesus_666@feddit.de
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          9 months ago

          And it’s matched by .+@.+ as it contains an @.

          Remember, we’re taking about regular expressions here so .+ means “a sequence of one or more arbitrary characters”. It does not imply that an actual dot is present.

          (And I overlooked the edit. Oops.)