JPDev to Software Gore · 6 months agoPassword must match the followingimagemessage-square50fedilinkarrow-up1428arrow-down14
arrow-up1424arrow-down1imagePassword must match the followingJPDev to Software Gore · 6 months agomessage-square50fedilink
minus-squaredrathvedro@lemm.eelinkfedilinkarrow-up19·6 months agoI know regex! This means: Must not contain whitespace Must contain lowercase latin letter Must contain uppercase latin letter Must contain a number Must contain one of the symbols you’d normally be able to type on US keyboard !@#$%^&*()-=_+[\]{}|;:,./<>? It is a cursed way to do validation, though.
minus-squareWilzax@lemmy.worldlinkfedilinkarrow-up7·6 months agoTechnically just needs a number or a special character, there’s a | between the lookaheads for numbers and special characters.
I know regex!
This means:
Must not contain whitespace
Must contain lowercase latin letter
Must contain uppercase latin letter
Must contain a number
Must contain one of the symbols you’d normally be able to type on US keyboard
!@#$%^&*()-=_+[\]{}|;:,./<>?
It is a cursed way to do validation, though.
Technically just needs a number or a special character, there’s a
|
between the lookaheads for numbers and special characters.