Fix precision regex and add tests
Handle decimal step value with precision and scale properly