I am trying to match brackets using regex in python:
(a (dcsd)) ()
I dont have internet on my desktop at the moment so I cant download new libraries. What is the best way of doing this when regex has no recursive features in python?
More clearly, and for a particular user who cannot read, I do not have internet on my main computer, just some mobile internet that I am using to post this question. I was hoping that someone could suggest a manual algorithm for finding the contents of matched brackets as the only answers I have found using the almighty google use separate libraries.
In that example I would need the result 'a' 'dcsd'