• 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.)