http://www.perlmonks.org?node_id=595041


in reply to How to find the outermost pair of square brackets with a regex?

use Regexp::Common.

Regards,
Murugesan Kandasamy
use perl for(;;);