66
BoomeH
4y

Somewhere in that code there's a
"TODO learn regex"

Comments
  • 5
    As described by example:
    123- -4
  • 7
    Error messages like this make me angry. Don't demand that users enter data in such a fixed manner. Write your code to be clever enough to deal with different variations, especially of things like post codes.
  • 2
    @samk or with phone numbers. Some people prefer to put some whitespaces between numbers and some do prefer to use dashes.
  • 4
    @Scrumplex Exactly. We live in a world with UX best practices. People expect systems to be flexible, and coding it is not difficult.
  • 3
    @samk maybe we should add a spacebar to the numpad 😊
Add Comment