You should escape . here [0-9\.]