Cont(ains balanced( nested Br(ack)ets )in t)he text Match succeeded Con(tains i(mbalan(ced Br(ack)ets, )one c)lose missing Match succeeded Contains i(mbalan(ced Br(ack)ets, )one op)en m)missing Match succeeded No brackets in this string Match failed Won)ky br(ackets in) this s(tring Match succeeded More wonky br(ackets in) th)is s(tring Match succeeded Just the one( leading bracket Match failed And just th)e one trailing bracket Match failed So(me m(ultip)le n(est(s in) thi)s o)ne Match succeeded Ther(e is( mo(re) de(e)p )nes(ti(n(g i)n (mul)ti)p(l)es) he)re Match succeeded Some d((oub)le b)rackets Match succeeded ab(())cde Match succeeded ab(c(d)e Match succeeded ab(c)d)e Match succeeded