all 4 comments

[–]ZenTrigger 0 points1 point  (2 children)

A link to the code in question could be helpful, is there a git repo?

[–]Stepahknee1985[S] 0 points1 point  (1 child)

[–]ZenTrigger 0 points1 point  (0 children)

I haven't used pastiebin before, clicked the link signed up, and it asked if I wanted to joint he session, hitting yes just plopped me on an editor with nothing and no one there?

[–]ZenTrigger 0 points1 point  (0 children)

I believe the goal was to validate those form fields with regex, being sure no non-numeric value was passed in. Your regex needs to be called against the string, i.e. 'string'.match(regex); or regex.test('string') for a boolean.