Fix validation

Fix validate_re(): 30 does not match "^\\d+$"