I have this problem when I want some piece of code to execute only if my number matches this regex:
"^\\d{1,3}\\.\\d{1,4}$" - meaning 1-3 number, then decim