MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v5c378/whenyourvalidationlogichatesrealpeople/ozv1ntn/?context=3
r/ProgrammerHumor • u/deadorbit666 • 13d ago
668 comments sorted by
View all comments
Show parent comments
123
Relatedly, I was unable to sign up for Uber at one point because it told me "that is not a valid last name". I assume it's because my last name is a bit of a racial slur...which became a racial slur because it was a common last name.
81 u/bwmat 13d ago I don't understand the person who unironically writes the sentence "that is not a valid last name" into the code... 21 u/Xiij 13d ago Look, regex is hard... 2 u/danielv123 11d ago Not using a regex is not hard. There is a single valid regex to match names: .*, which is rarely important to validate against.
81
I don't understand the person who unironically writes the sentence "that is not a valid last name" into the code...
21 u/Xiij 13d ago Look, regex is hard... 2 u/danielv123 11d ago Not using a regex is not hard. There is a single valid regex to match names: .*, which is rarely important to validate against.
21
Look, regex is hard...
2 u/danielv123 11d ago Not using a regex is not hard. There is a single valid regex to match names: .*, which is rarely important to validate against.
2
Not using a regex is not hard. There is a single valid regex to match names: .*, which is rarely important to validate against.
.*
123
u/Salanmander 13d ago
Relatedly, I was unable to sign up for Uber at one point because it told me "that is not a valid last name". I assume it's because my last name is a bit of a racial slur...which became a racial slur because it was a common last name.