Help for this page
m/ ^ # anchor to the beginning of the string ... (?:\.\d+)? # 0 or 1 decimal places followed by a number $ # anchor to the end of the string /x
# some examples /^-?\.?\d+/ matches ... -.123.45 (probably a bug!) or -123.23532 or .235235235235.235235235235235325