- or download this
#!/usr/bin/perl -w
use strict;
...
(hh)
jj
kk
- or download this
my $re = qr{ \( (?: (?> [^()]+ ) | (??{ $re }))* \) }x;
- or download this
no strict 'vars';
$rec_re = qr{ \( (?: (?> [^()]+ ) | (??{ $rec_re }))* \) }x;
my $re = $rec_re;
use strict;