Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Matching a string in a parenthesized block (regex help)by LanX (Saint) |
on Mar 05, 2021 at 22:40 UTC ( [id://11129179]=note: print w/replies, xml ) | Need Help?? |
The best answer depends on the things you haven't told us, like
If both is true use the flip-flop operator .. to match start and end of a block. Use a normal regex to match the insides.
edit
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|