Added draft of getNumericCsv. Corrected escape detection in getRegexPattern.