• @thevoidzero
    link
    22 hours ago

    You forgot empty line. Since first part is ^.?$ it’s one or zero of any character.