Declaration parser number detection

Better integer parse regex.

added some notes.