Switched to regex for parsing.