modified regex for signed and floating nnumbers