http://qs321.pair.com?node_id=11132726


in reply to Need a regular expression to check the first digit

Give us some code we can run. See I know what I mean. Why don't you?

Update: What do you expect /^[5]+$/ to match? What does each component of the expression do? To save us all a little time these are the interesting components:

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond