What is the regular expression for matching a sentence that contains metacharacters ?
Following the senario :
I have a string : line = "He finally answer (after taking time to think (5 minutes) * sighs ; end)"
I want to match this part of the sentence : line2 = "after taking time to think (5 minutes) * sighs ; end"
But i don't want to use a regex to find the element inside of parentheses
For that I am using : re.findall(re.escape(line2), re.escape(line))
But I'm getting an empty result