this post was submitted on 21 Jun 2024
419 points (99.1% liked)

Software Gore

947 readers
1 users here now

A community for posting software malfunctions

Deliberately bad software or bad design is not software gore, it must be something unintentional

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient and shear it



founded 10 months ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 19 points 2 months ago (1 children)

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.

[โ€“] [email protected] 7 points 2 months ago

Technically just needs a number or a special character, there's a | between the lookaheads for numbers and special characters.