detecting float with regex