allow spaces in numeric detection