supplied realnum regex does not support trailing or leading decimals
amended tests to slightly different parser behaviour