changed to more efficient and cleaner parsing method, added some functions for numeric checks
Authored by: anallyst 2011-03-03
Parent: [r3105]
Child: [r3107]