in reply to
minimal matching to end of string in regular expressions
That looks like Verilog code, which can be parsed with
Verilog::Netlist
.
Comment on
Re: minimal matching to end of string in regular expressions
In Section
Seekers of Perl Wisdom