Fix path regExp for compressed path commands

Fix regExp for e^x numbers
Add unit test for e^x numbers