I am trying to use this Re-pattern r'\({2}.+?\){2}'
to catch a ((slug1/slug2/slug3 someword)) expression from text.
It gives me the whole expression itself,i.e '((slug1/slug2/slug3 someword))'. Then I parse it using Python:split it to get slug1/slug2/slug3 and someword separately.
How can I get the same using pure Regex pattern with groups. What pattern should be? Any help is appreciated.