Is there a regular expression which would match floating point numbers but not if this is a part of a construct like 15.01.2016?
re.match(rex, s)
should be successful if s
would be
1.0A
1.B
.1
and not successful for s
like
1.0.0
1.0.1
20.20.20.30
12345.657.345
Edit:
The crucial part is the combination of the constrains: "[0-9]*\.[0-9]*"
and not part of "[0-9]+\.[0-9]+(\.[0-9]+)+"