@JPDev@programming.dev to Software Gore@programming.dev • 11 days agoPassword must match the followingprogramming.devimagemessage-square50fedilinkarrow-up1421arrow-down14
arrow-up1417arrow-down1imagePassword must match the followingprogramming.dev@JPDev@programming.dev to Software Gore@programming.dev • 11 days agomessage-square50fedilink
minus-square@drathvedro@lemm.eelinkfedilink18•11 days 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-square@Wilzax@lemmy.worldlinkfedilink6•11 days 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.