I have a config file like this:
asaasdfg fdhshs "kgk jjjd" jdyesgs
gdgdg urur "irit jhd *" djjdj
trteyuueu ueue "jyuoro" ooyoy
and so on. I am able to parse it using my own parser module (using regex) but that assumes a strict structure for the file (e.g. elements in each row separated by a single whitespace). Is there a general python module for parsing such files so that it won't matter how many whitespaces separate the elements.
I have looked at this but it assumes a different file structure than what I have. In particular, I don't have sections or key:value pairs.
Any suggestions?