Changed static member GetRegexAndInfo to member GetRegex, and refactored the Info part into isSeparator