support for scientific notation in BigDecimal
fix small bug in regex
add tests for scienticic notation