For if i have the following in a text file:
{
fun cake(){
"im cute"
subfun notcake(){
"dont close the question!"
}
}
fun notcute(){
"Did you just say..."
}
}
i want to get the stuff between two braces of the fun cake(). Those particular braces, and matching pairs with opening and closing braces so that i dont get the strings of other braces.
(the focused point is highlighted in bold)