Form Validation Hell

I’m currently writing a new Angular widget based on the “sequence explorer” widget I’ve described previously. It will use mobx-angular. To make it a full-dress widget of publishable quality, I need to do some form validation. It’s possibly the most boring part of web development. And it includes regular expressions, the most confusing and inscrutable form of code anybody ever conceived.

(\d*\.?\d* *, *)*(\d*\.?\d* *)

What the hell is that? Do you just get used to it like that falling-text screensaver code from The Matrix?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s